u-boot-brain/arch/powerpc/cpu
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
..
74xx_7xx PowerPC: drop some 74xx_7xx boards and related code 2014-10-27 14:35:55 +01:00
mpc5xx kconfig: remove redundant "string" type in arch and board Kconfigs 2014-09-13 16:43:55 -04:00
mpc5xxx powerpc: mpc52xx: Clear GD in the main U-Boot stage for SPL usage 2014-11-19 13:08:14 +01:00
mpc8xx ppc/arm: remove remainders of dead boards in Kconfig 2014-10-31 00:42:19 +01:00
mpc8xxx fsl_sec : Change accessor function to take care of endianness 2014-10-16 14:16:50 -07:00
mpc83xx mpc83xx: Add gdsys hrcon board 2014-11-19 08:48:42 +01:00
mpc85xx powerpc/mpc85xx: Use IFC accessor function 2014-11-14 11:12:14 -08:00
mpc86xx kconfig: remove redundant "string" type in arch and board Kconfigs 2014-09-13 16:43:55 -04:00
mpc512x kconfig: remove redundant "string" type in arch and board Kconfigs 2014-09-13 16:43:55 -04:00
mpc824x kconfig: remove redundant "string" type in arch and board Kconfigs 2014-09-13 16:43:55 -04:00
mpc8260 ppc: Zap TQM8272 board 2014-10-27 14:35:56 +01:00
ppc4xx fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
Makefile Makefile: Select objects by CONFIG_ rather than $(ARCH) or $(CPU) 2013-12-16 08:59:42 -05:00