On Thu, 23 Oct 2014 18:58:47 -0600 Simon Glass <s...@chromium.org> wrote:
> 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 <s...@chromium.org> > --- > > Changes in v2: > - Fix return codes in board/amcc/sequoia/sequoia.c > - Fix return codes in board/freescale/p1_p2_rdb/p1_p2_rdb.c > - Fix return codes in board/freescale/p1_p2_rdb_pc/p1_p2_rdb_pc.c Acked-by: Anatolij Gustschin <ag...@denx.de> Thanks, Anatolij _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot