common: board: Dont relocate FDT incase of CONFIG_OF_EMBED
authorSiva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Thu, 3 Dec 2015 14:46:03 +0000 (15:46 +0100)
committerTom Rini <trini@konsulko.com>
Sat, 5 Dec 2015 23:22:34 +0000 (18:22 -0500)
commite9acb9ea430e3638f1306993b10a10385092b20a
treecbed5bc953f7749a91645feca1cfdb14b7e37f00
parentb4857aa90105ea85bf029f8eb99e72fbadc0e2d0
common: board: Dont relocate FDT incase of CONFIG_OF_EMBED

Don't relocate fdt in case of CONFIG_OF EMBED as the fdt is
already embedded with u-boot image.
Update fdt_blob after relocation as the fdt will be copied
during u-boot relocation.

Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Alexey Brodkin <abrodkin@synopsys.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Bin Meng <bmeng.cn@gmail.com> (QEMU x86)
Tested-by: Thomas Chou <thomas@wytron.com.tw> (Nios2)
Acked-by: Thomas Chou <thomas@wytron.com.tw>
Acked-by: Simon Glass <sjg@chromium.org>
common/board_f.c
common/board_r.c