mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 19:11:53 +00:00
fdt: Allow indicating a node is for U-Boot proper only
At present it is not possible to specify that a node should be used before relocation (in U-Boot proper) without it also ending up in SPL and TPL device trees. Add a new "u-boot,dm-pre-proper" boolean property for this. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
a15a7aa47b
commit
06f94461a9
2 changed files with 5 additions and 1 deletions
|
@ -699,6 +699,8 @@ bool ofnode_pre_reloc(ofnode node)
|
|||
{
|
||||
if (ofnode_read_bool(node, "u-boot,dm-pre-reloc"))
|
||||
return true;
|
||||
if (ofnode_read_bool(node, "u-boot,dm-pre-proper"))
|
||||
return true;
|
||||
|
||||
#ifdef CONFIG_TPL_BUILD
|
||||
if (ofnode_read_bool(node, "u-boot,dm-tpl"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue