[PATCH 06/18] tpl: Support numbered aliases in device tree

Simon Glass sjg at chromium.org
Wed Aug 28 03:45:25 CEST 2024


Add an option so that this feature can be enabled in TPL for boards
which need it.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 drivers/core/Kconfig | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/drivers/core/Kconfig b/drivers/core/Kconfig
index 1a7be4d9b4d..d811120aef5 100644
--- a/drivers/core/Kconfig
+++ b/drivers/core/Kconfig
@@ -151,6 +151,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
-- 
2.34.1



More information about the U-Boot mailing list