In message <[EMAIL PROTECTED]> you wrote: > Current code requires that a compiled device tree have space added to the end > to > leave room for extra nodes added by board code (and the chosen node). This > requires that device tree creators anticipate how much space U-Boot will add > to > the tree, which is absurd. Ideally, the code would resize and/or relocate the > tree when it needed more space, but this would require a systemic change to > the > fdt code, which is non-trivial. Instead, we resize the tree inside > boot_relocate_fdt, reserving either the remainder of the bootmap (in the case > where the fdt is inside the bootmap), or adding CFG_FDT_PAD bytes to the size. > > Signed-off-by: Andy Fleming <[EMAIL PROTECTED]> > --- > Rebased off the top of tree to ease application. > > lib_ppc/bootm.c | 66 ++++++++++++++++++++++++++++++++++++++++++++++++------ > 1 files changed, 58 insertions(+), 8 deletions(-)
Applied, thanks. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED] CAUTION: The Mass of This Product Contains the Energy Equivalent of 85 Million Tons of TNT per Net Ounce of Weight. ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users