u-boot/arch
Simon Glass e895a4b06f fdt: Allow ft_board_setup() to report failure
This function can fail if the device tree runs out of space. Rather than
silently booting with an incomplete device tree, allow the failure to be
detected.

Unfortunately this involves changing a lot of places in the code. I have
not changed behvaiour to return an error where one is not currently
returned, to avoid unexpected breakage.

Eventually it would be nice to allow boards to register functions to be
called to update the device tree. This would avoid all the many functions
to do this. However it's not clear yet if this should be done using driver
model or with a linker list. This work is left for later.

Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Anatolij Gustschin <agust@denx.de>
2014-11-21 04:43:15 +01:00
..
arc kconfig: remove redundant "string" type in arch and board Kconfigs 2014-09-13 16:43:55 -04:00
arm ARM: atmel: add sama5d4 xplained ultra board support 2014-11-17 08:47:18 -05:00
avr32 kconfig: remove redundant "string" type in arch and board Kconfigs 2014-09-13 16:43:55 -04:00
blackfin Merge branch 'master' of git://git.denx.de/u-boot-blackfin 2014-11-10 16:25:28 -05:00
m68k kconfig: remove redundant "string" type in arch and board Kconfigs 2014-09-13 16:43:55 -04:00
microblaze kconfig: add CONFIG_SUPPORT_SPL 2014-10-27 17:54:10 -04:00
mips MIPS: add .padding section to linker script 2014-11-01 18:18:05 +01:00
nds32 kconfig: remove redundant "string" type in arch and board Kconfigs 2014-09-13 16:43:55 -04:00
nios2 fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
openrisc kconfig: remove redundant "string" type in arch and board Kconfigs 2014-09-13 16:43:55 -04:00
powerpc fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
sandbox sandbox: init cli for -c 2014-11-07 16:27:05 -05:00
sh Merge branch 'master' of git://git.denx.de/u-boot-sh 2014-11-17 08:43:40 -05:00
sparc sparc: merge CONFIG_SYS_CPU and CONFIG_SYS_VENDOR defines 2014-11-04 15:01:38 -05:00
x86 x86: Correct a few progress message nits 2014-10-28 20:44:27 -06:00
.gitignore .gitignore: drop include/asm/proc from ignore pattern 2014-06-19 11:18:54 -04:00
Kconfig kconfig: move CONFIG_USE_PRIVATE_LIBGCC to Kconfig 2014-10-23 13:19:09 -04:00