fdt: Redo devicetree setup
The existing logic for handling receiving a devicetree from a previous phase is quite complicated. Simplify it in preparation for introducing standard passage. Add a Kconfig called OF_PASSAGE which indicates that the devicetree must come from standard passage. Series-changes: 3 - Add new patch to redo how a devicetree is set up Series-changes: 4 - Drop now-unused label Series-changes: 5 - Use OF_PASSAGE here instead of OF_BLOBLIST Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -159,6 +159,14 @@ config OF_EMBED
|
||||
and development only and is not recommended for production devices.
|
||||
Boards in the mainline U-Boot tree should not use it.
|
||||
|
||||
config OF_PASSAGE
|
||||
bool "DTB is provided by a standard passage, in a bloblist"
|
||||
help
|
||||
Select this to read the devicetree using the standard passage
|
||||
mechanism, i.e. from a previous phase in bloblist using arch-specific
|
||||
register conventions. If enabled, the previous phase must provide
|
||||
the devicetree, or U-Boot will not function correctly.
|
||||
|
||||
endchoice
|
||||
|
||||
config OF_INITIAL_DTB_READONLY
|
||||
|
||||
Reference in New Issue
Block a user