u-boot-brain/board/freescale
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
..
b4860qds fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
bsc9131rdb fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
bsc9132qds fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
c29xpcie fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
common fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
corenet_ds fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
ls1021aqds fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
ls1021atwr fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
ls2085a fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
m547xevb kconfig: remove redundant "string" type in arch and board Kconfigs 2014-09-13 16:43:55 -04:00
m548xevb kconfig: remove redundant "string" type in arch and board Kconfigs 2014-09-13 16:43:55 -04:00
m5208evbe MAINTAINERS: comment out blank M: field 2014-09-24 18:30:28 -04:00
m5235evb kconfig: remove redundant "string" type in arch and board Kconfigs 2014-09-13 16:43:55 -04:00
m5249evb MAINTAINERS: comment out blank M: field 2014-09-24 18:30:28 -04:00
m5253demo kconfig: remove redundant "string" type in arch and board Kconfigs 2014-09-13 16:43:55 -04:00
m5253evbe MAINTAINERS: comment out invalid maintainers 2014-09-24 18:30:28 -04:00
m5272c3 MAINTAINERS: comment out blank M: field 2014-09-24 18:30:28 -04:00
m5275evb MAINTAINERS: comment out blank M: field 2014-09-24 18:30:28 -04:00
m5282evb MAINTAINERS: comment out blank M: field 2014-09-24 18:30:28 -04:00
m5329evb kconfig: remove redundant "string" type in arch and board Kconfigs 2014-09-13 16:43:55 -04:00
m5373evb kconfig: remove redundant "string" type in arch and board Kconfigs 2014-09-13 16:43:55 -04:00
m52277evb kconfig: remove redundant "string" type in arch and board Kconfigs 2014-09-13 16:43:55 -04:00
m53017evb kconfig: remove redundant "string" type in arch and board Kconfigs 2014-09-13 16:43:55 -04:00
m54418twr MAINTAINERS: comment out blank M: field 2014-09-24 18:30:28 -04:00
m54451evb MAINTAINERS: comment out blank M: field 2014-09-24 18:30:28 -04:00
m54455evb kconfig: remove redundant "string" type in arch and board Kconfigs 2014-09-13 16:43:55 -04:00
mpc832xemds fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
mpc837xemds fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
mpc837xerdb fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
mpc5121ads fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
mpc7448hpc2 fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
mpc8266ads kconfig: remove redundant "string" type in arch and board Kconfigs 2014-09-13 16:43:55 -04:00
mpc8308rdb fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
mpc8313erdb fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
mpc8315erdb fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
mpc8323erdb fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
mpc8349emds fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
mpc8349itx fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
mpc8360emds fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
mpc8360erdk fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
mpc8536ds fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
mpc8540ads fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
mpc8541cds MAINTAINERS: comment out invalid maintainers 2014-09-24 18:30:28 -04:00
mpc8544ds fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
mpc8548cds MAINTAINERS: comment out blank M: field 2014-09-24 18:30:28 -04:00
mpc8555cds MAINTAINERS: comment out invalid maintainers 2014-09-24 18:30:28 -04:00
mpc8560ads fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
mpc8568mds fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
mpc8569mds fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
mpc8572ds fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
mpc8610hpcd fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
mpc8641hpcn fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
mx6qarm2 kconfig: arm: introduce symbol for ARM CPUs 2014-10-29 09:02:09 -04:00
mx6qsabreauto imx: mx6q/dlsabreauto: And NAND flash support 2014-11-13 16:23:55 +01:00
mx6sabresd mx6sabresd: Staticize when possible 2014-11-13 18:06:18 +01:00
mx6slevk Merge branch 'master' of git://www.denx.de/git/u-boot-imx 2014-11-05 12:48:09 -05:00
mx6sxsabresd kconfig: arm: introduce symbol for ARM CPUs 2014-10-29 09:02:09 -04:00
mx23evk kconfig: arm: introduce symbol for ARM CPUs 2014-10-29 09:02:09 -04:00
mx25pdk kconfig: arm: introduce symbol for ARM CPUs 2014-10-29 09:02:09 -04:00
mx28evk mx28evk: README: Revision C is also supported 2014-11-12 09:05:57 +01:00
mx31ads kconfig: arm: introduce symbol for ARM CPUs 2014-10-29 09:02:09 -04:00
mx31pdk kconfig: arm: introduce symbol for ARM CPUs 2014-10-29 09:02:09 -04:00
mx35pdk kconfig: arm: introduce symbol for ARM CPUs 2014-10-29 09:02:09 -04:00
mx51evk kconfig: arm: introduce symbol for ARM CPUs 2014-10-29 09:02:09 -04:00
mx53ard kconfig: arm: introduce symbol for ARM CPUs 2014-10-29 09:02:09 -04:00
mx53evk kconfig: arm: introduce symbol for ARM CPUs 2014-10-29 09:02:09 -04:00
mx53loco mx53loco: Change 'fdt_file' dynamically 2014-11-13 16:22:26 +01:00
mx53smd kconfig: arm: introduce symbol for ARM CPUs 2014-10-29 09:02:09 -04:00
p1_p2_rdb fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
p1_p2_rdb_pc fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
p1_twr fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
p1010rdb fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
p1022ds fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
p1023rdb fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
p2020come fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
p2020ds fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
p2041rdb fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
qemu-ppce500 fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
t4qds fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
t4rdb fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
t104xrdb fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
t208xqds fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
t208xrdb fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
t1040qds fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
vf610twr kconfig: arm: introduce symbol for ARM CPUs 2014-10-29 09:02:09 -04:00