
On Sun, Apr 02, 2017 at 01:25:20AM -0700, Alex Deymo wrote:
In some boards like the Raspberry Pi the initial bootloader will pass a DT to the kernel. When using U-boot as such kernel, the board code in U-Boot should be able to provide U-boot with this, already assembled device tree blob.
This patch introduces a new config option CONFIG_OF_BOARD to use instead of CONFIG_OF_EMBED or CONFIG_OF_SEPARATE which will initialize the DT from a board-specific funtion instead of bundling one with U-boot or as a separated file. This allows boards like the Raspberry Pi to reuse the device tree passed from the bootcode.bin and start.elf firmware files, included the run-time selected device tree overlays.
Signed-off-by: Alex Deymo deymo@google.com Reviewed-by: Simon Glass sjg@chromium.org
After doing the rewords Simon suggested, applied to u-boot/master, thanks!