aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Edmond <seanedmond@microsoft.com>2023-11-30 16:54:43 -0800
committerTom Rini <trini@konsulko.com>2023-12-16 11:08:06 -0500
commit0478bf357bc6b65ebeb6a23ff109930c4fb312b3 (patch)
tree3f0e3ad89a0d2f16cf0a49835ec2f468e1f3fbdb
parentf9dc535525ae798298c6b98ad241574509859eee (diff)
downloadu-boot-0478bf357bc6b65ebeb6a23ff109930c4fb312b3.zip
u-boot-0478bf357bc6b65ebeb6a23ff109930c4fb312b3.tar.gz
u-boot-0478bf357bc6b65ebeb6a23ff109930c4fb312b3.tar.bz2
dm: core: Modify default for OFNODE_MULTI_TREE
There is a preference to use the "ofnode" API for FDT fixups moving forward. The FDT fixup will usually be for the kernel FDT. To fixup the kernel FDT with the ofnode API, it's required to set the OFNODE_MULTI_TREE option. To ensure existing users of kaslr fdt fixup are not impacted, Let's modify the default value for OFNODE_MULTI_TREE to ensure it's always set. This will cause a 1007 byte increase in the code size. Signed-off-by: Sean Edmond <seanedmond@microsoft.com> Reviewed-by: Simon Glass <sjg@chromium.org>
-rw-r--r--drivers/core/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/core/Kconfig b/drivers/core/Kconfig
index 737d459..c01a8dc 100644
--- a/drivers/core/Kconfig
+++ b/drivers/core/Kconfig
@@ -423,7 +423,8 @@ config DM_DEV_READ_INLINE
config OFNODE_MULTI_TREE
bool "Allow the ofnode interface to access any tree"
- default y if EVENT && !DM_DEV_READ_INLINE && !DM_INLINE_OFNODE
+ depends on OF_CONTROL
+ default y
help
Normally U-Boot makes use of its control FDT, the one used to bind
devices and provide options. In some cases, U-Boot must also process