[U-Boot] Allow boards to initialize the DT at runtime.

Tom Rini trini at konsulko.com
Wed May 10 17:51:30 UTC 2017


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 at google.com>
> Reviewed-by: Simon Glass <sjg at chromium.org>

After doing the rewords Simon suggested, applied to u-boot/master,
thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170510/ce77d783/attachment.sig>


More information about the U-Boot mailing list