diff options
author | Andy Fleming <afleming@freescale.com> | 2008-06-16 13:58:56 -0500 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-06-28 22:23:13 +0200 |
commit | 41c5eaa7253ed82bbae1eda5667755872c615164 (patch) | |
tree | a72bd502cc9f3fbb901aef95950a060a16949720 /nand_spl | |
parent | 7570a9941fc565922078679a72d246fe208d696d (diff) | |
download | u-boot-imx-41c5eaa7253ed82bbae1eda5667755872c615164.zip u-boot-imx-41c5eaa7253ed82bbae1eda5667755872c615164.tar.gz u-boot-imx-41c5eaa7253ed82bbae1eda5667755872c615164.tar.bz2 |
Resize device tree to allow space for board changes and the chosen node
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 <afleming@freescale.com>
Diffstat (limited to 'nand_spl')
0 files changed, 0 insertions, 0 deletions