fdt: ARM: Implement and verify embedded and separate device tree
authorSimon Glass <sjg@chromium.org>
Mon, 24 Oct 2011 19:15:33 +0000 (19:15 +0000)
committerWolfgang Denk <wd@denx.de>
Wed, 26 Oct 2011 19:39:57 +0000 (21:39 +0200)
commitf5437ad141e13ff03dccb24707e8100d2b0295fd
tree79ba9113784b715db0d5c22e33f1c64a79caf3c5
parentb5220bc6ed6e6a197adf4926958dca1df4b420b0
fdt: ARM: Implement and verify embedded and separate device tree

This locates the device tree either embedded within U-Boot or attached to the
end as a separate binary.

When CONFIG_OF_CONTROL is defined, U-Boot requires a valid fdt. A check is
provided for this early in initialisation.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/arm/lib/board.c