summaryrefslogtreecommitdiff
path: root/recipes-bsp/u-boot
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-bsp/u-boot')
-rw-r--r--recipes-bsp/u-boot/u-boot-2016.09.01/hide_uboot_version.patch11
-rw-r--r--recipes-bsp/u-boot/u-boot_2016.09.01.bb3
2 files changed, 13 insertions, 1 deletions
diff --git a/recipes-bsp/u-boot/u-boot-2016.09.01/hide_uboot_version.patch b/recipes-bsp/u-boot/u-boot-2016.09.01/hide_uboot_version.patch
new file mode 100644
index 0000000..a59dcc1
--- /dev/null
+++ b/recipes-bsp/u-boot/u-boot-2016.09.01/hide_uboot_version.patch
@@ -0,0 +1,11 @@
+diff -raNu old/lib/display_options.c new/lib/display_options.c
+--- old/lib/display_options.c 2016-09-19 17:45:12.000000000 +0300
++++ new/lib/display_options.c 2019-02-08 15:40:16.566717983 +0200
+@@ -15,6 +15,7 @@
+
+ int display_options (void)
+ {
++ return 0;
+ #if defined(BUILD_TAG)
+ printf ("\n\n%s, Build: %s\n\n", version_string, BUILD_TAG);
+ #else
diff --git a/recipes-bsp/u-boot/u-boot_2016.09.01.bb b/recipes-bsp/u-boot/u-boot_2016.09.01.bb
index 44c9e04..d94ba56 100644
--- a/recipes-bsp/u-boot/u-boot_2016.09.01.bb
+++ b/recipes-bsp/u-boot/u-boot_2016.09.01.bb
@@ -10,7 +10,8 @@ SRC_URI = "ftp://ftp.denx.de/pub/u-boot/u-boot-${PV}.tar.bz2 \
file://macb.patch \
file://printeepromcrc.patch \
file://mtpwd.patch \
- file://tftpput.patch"
+ file://tftpput.patch \
+ file://hide_uboot_version.patch"
SRC_URI_append_mtcdt = " \
file://mtcdt.patch"