]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm: fdt: Relocate fdt along with other data
authorSimon Glass <sjg@chromium.org>
Thu, 27 Sep 2012 15:41:55 +0000 (15:41 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Fri, 19 Oct 2012 19:38:27 +0000 (21:38 +0200)
commit39826f09978a0a7070999acc15babf88f03e4051
tree19bb3441e279b281a0155f5d32a66511623bb15f
parent1fb187b3b8e3bb6ed23ab8ec2743ea44bfdadb3c
arm: fdt: Relocate fdt along with other data

Rather than leave the fdt down next to the code/data, we really should
relocate it along with everything else. For CONFIG_OF_EMBED this happens
automatically, but for CONFIG_OF_SEPARATE it does not.

Add code to copy the fdt and point to the new copy after relocation.

Signed-off-by: Simon Glass <sjg@chromium.org>
Tested-by: Stephen Warren <swarren@nvidia.com>
arch/arm/lib/board.c