Skip to content
Snippets Groups Projects
Commit 82f766d1 authored by Alex Deymo's avatar Alex Deymo Committed by Tom Rini
Browse files

Allow boards to initialize the DT at runtime.


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, including the run-time selected device tree overlays.

Signed-off-by: default avatarAlex Deymo <deymo@google.com>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
parent 45a6d231
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment