summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2024-09-20 09:24:30 +0200
committerTom Rini <trini@konsulko.com>2024-10-03 11:52:16 -0600
commitcb75110137e3959cec0aa775520e442277d0e806 (patch)
tree6833236672e66ad3438c498a626968080e226775
parente2d96ac9ee9f81c8f72435bff55f924d27ad92d1 (diff)
tpl: Support numbered aliases in device tree
Add an option so that this feature can be enabled in TPL for boards which need it. Signed-off-by: Simon Glass <sjg@chromium.org>
-rw-r--r--drivers/core/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/core/Kconfig b/drivers/core/Kconfig
index c39abe3bc94..6b4330fe4ea 100644
--- a/drivers/core/Kconfig
+++ b/drivers/core/Kconfig
@@ -152,6 +152,14 @@ config SPL_DM_SEQ_ALIAS
numbered devices (e.g. serial0 = &serial0). This feature can be
disabled if it is not required, to save code space in SPL.
+config TPL_DM_SEQ_ALIAS
+ bool "Support numbered aliases in device tree in TPL"
+ depends on TPL_DM
+ help
+ Most boards will have a '/aliases' node containing the path to
+ numbered devices (e.g. serial0 = &serial0). This feature can be
+ disabled if it is not required, to save code space in SPL.
+
config VPL_DM_SEQ_ALIAS
bool "Support numbered aliases in device tree in VPL"
depends on VPL_DM