diff options
author | Andre Heider <a.heider@gmail.com> | 2019-09-06 11:25:30 +0200 |
---|---|---|
committer | Alexander Couzens <lynxis@fe80.eu> | 2019-11-20 10:46:19 +0100 |
commit | b69df1eee0eb4618355d5ea4d0cdb4553475c4b7 (patch) | |
tree | 495c0252af31d905eeb7faef6d8805db878c59b0 /package/boot/uboot-omap/patches/107-tools-include-necessary-headers-explicitly.patch | |
parent | 65cfe8164ae9e3965e45d68dd9649fc9784dc2a0 (diff) | |
download | upstream-b69df1eee0eb4618355d5ea4d0cdb4553475c4b7.tar.gz upstream-b69df1eee0eb4618355d5ea4d0cdb4553475c4b7.tar.bz2 upstream-b69df1eee0eb4618355d5ea4d0cdb4553475c4b7.zip |
omap: update uboot to 2019.10
All patches have been dropped, they're either redundant (e.g. due to the
new and unset CONFIG_SPL_FAT_WRITE), break compilation (thumb hacks) or
have been applied upstream.
The defconfig for am335x_boneblack has been removed upstream [0], so use
am335x_evm for boneblack too.
Size changes (before, after, file):
ti_am335x-evm and ti_am335x-bone-black:
79804 110832 MLO
623836 756148 u-boot.img
ti_omap3-beagle:
54148 57708 MLO
496272 665728 u-boot.img
ti_omap4-panda:
39356 40204 MLO
284648 366672 u-boot.img
Tested on boneblack, which has the biggest spl size increase. The beagle and
panda spl sizes seem reasonable to not break booting.
[0] https://gitlab.denx.de/u-boot/u-boot/commit/8fa7f65dd02c176ee6021eaf40114560b8954ba2
Signed-off-by: Andre Heider <a.heider@gmail.com>
Diffstat (limited to 'package/boot/uboot-omap/patches/107-tools-include-necessary-headers-explicitly.patch')
-rw-r--r-- | package/boot/uboot-omap/patches/107-tools-include-necessary-headers-explicitly.patch | 75 |
1 files changed, 0 insertions, 75 deletions
diff --git a/package/boot/uboot-omap/patches/107-tools-include-necessary-headers-explicitly.patch b/package/boot/uboot-omap/patches/107-tools-include-necessary-headers-explicitly.patch deleted file mode 100644 index 4d0f254747..0000000000 --- a/package/boot/uboot-omap/patches/107-tools-include-necessary-headers-explicitly.patch +++ /dev/null @@ -1,75 +0,0 @@ -From ad23f45b346f196e07ba49d354a12762f19abfa4 Mon Sep 17 00:00:00 2001 -From: Masahiro Yamada <yamada.masahiro@socionext.com> -Date: Sun, 21 Jan 2018 19:19:15 +0900 -Subject: [PATCH 2/2] tools: include necessary headers explicitly - -Several host-tools use "bool" type without including <stdbool.h>. -This relies on the crappy header inclusion chain. - -tools/Makefile has the following line: - - HOST_EXTRACFLAGS += -include $(srctree)/include/libfdt_env.h \ - -All host-tools are forced to include libfdt_env.h even if they are -totally unrelated to FDT. Then, <stdbool.h> is indirectly included -as follows: - - include/libfdt_env.h - -> include/linux/types.h - -> <stdbool.h> - -I am fixing this horrible crap. In advance, I need to add necessary -include directives explicitly. tools/fdtgrep.c needs more; <fctl.h> -for open() and <errno.h> for errno. - -Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> -Reviewed-by: Joe Hershberger <joe.hershberger@ni.com> -Reviewed-by: Simon Glass <sjg@chromium.org> ---- - tools/fdtgrep.c | 3 +++ - tools/ifdtool.c | 1 + - tools/imagetool.h | 1 + - 3 files changed, 5 insertions(+) - -diff --git a/tools/fdtgrep.c b/tools/fdtgrep.c -index fbe38c824a41..13703fc3b1b9 100644 ---- a/tools/fdtgrep.c -+++ b/tools/fdtgrep.c -@@ -10,7 +10,10 @@ - - #include <assert.h> - #include <ctype.h> -+#include <errno.h> - #include <getopt.h> -+#include <fcntl.h> -+#include <stdbool.h> - #include <stdio.h> - #include <stdlib.h> - #include <string.h> -diff --git a/tools/ifdtool.c b/tools/ifdtool.c -index c805597744bd..e4c2f82c4a1e 100644 ---- a/tools/ifdtool.c -+++ b/tools/ifdtool.c -@@ -12,6 +12,7 @@ - #include <assert.h> - #include <fcntl.h> - #include <getopt.h> -+#include <stdbool.h> - #include <stdlib.h> - #include <stdio.h> - #include <string.h> -diff --git a/tools/imagetool.h b/tools/imagetool.h -index 15c2a0c0e1c1..076e5e0dc8f9 100644 ---- a/tools/imagetool.h -+++ b/tools/imagetool.h -@@ -12,6 +12,7 @@ - #include "os_support.h" - #include <errno.h> - #include <fcntl.h> -+#include <stdbool.h> - #include <stdio.h> - #include <stdlib.h> - #include <string.h> --- -2.21.0 - |