diff options
author | Andy Fleming <afleming@freescale.com> | 2008-06-16 18:58:56 (GMT) |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-06-28 20:23:13 (GMT) |
commit | 41c5eaa7253ed82bbae1eda5667755872c615164 (patch) | |
tree | a72bd502cc9f3fbb901aef95950a060a16949720 /board/apollon | |
parent | 7570a9941fc565922078679a72d246fe208d696d (diff) | |
download | u-boot-fsl-qoriq-41c5eaa7253ed82bbae1eda5667755872c615164.tar.xz |
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 'board/apollon')
0 files changed, 0 insertions, 0 deletions