summaryrefslogtreecommitdiffstats
path: root/arch/sandbox
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut+renesas@gmail.com>2019-09-01 18:05:03 +0200
committerMarek Vasut <marex@denx.de>2019-09-02 17:38:42 +0200
commitee3a4a708a36fec81126d86f6baabaf4e053ed22 (patch)
tree3486e385432ac1defb118413a5b0adc92c7c1584 /arch/sandbox
parent6756762024ccacf48e1419a02e0880f337a9030f (diff)
downloadu-boot-ee3a4a708a36fec81126d86f6baabaf4e053ed22.tar.gz
u-boot-ee3a4a708a36fec81126d86f6baabaf4e053ed22.tar.xz
u-boot-ee3a4a708a36fec81126d86f6baabaf4e053ed22.zip
sh: Fix OF_SEPARATE support
If the OF_SEPARATE is enabled, the DT is appended past the _end symbol. The current code however clears BSS very early, which overwrites the DT blob with zeroes. Moreover, the early code relocates U-Boot into RAM to the correct location, but does not relocate the DT. This patch adds code to relocate the DT and avoids clearing BSS too early, thus addressing both problems with OF_SEPARATE on SH. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Diffstat (limited to 'arch/sandbox')
0 files changed, 0 insertions, 0 deletions