diff options
author | Gaskell, Oliver <Oliver.Gaskell@analog.com> | 2024-08-19 09:43:52 +0000 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-08-27 18:01:28 -0600 |
commit | 716ab3fb23708347a7f3e5ff68ed5a0b0c9267a7 (patch) | |
tree | a1a44f3d9d4c043140479d2ddc3e97aa2c03f7bb | |
parent | df5286e82d0272126b38e8e3116c61b0b010ddbd (diff) |
dm: core: Make SPL_DM_SEQ_ALIAS select SPL_STRTO
Enabling CONFIG_DM_SEQ_ALIAS enables code which relies on
`trailing_strtol()` - which is only linked in SPL when CONFIG_SPL_STRTO
is enabled.
CONFIG_SPL_STRTO is not enabled by default - to ensure this function is
available in SPL, CONFIG_SPL_DM_SEQ_ALIAS should select
CONFIG_SPL_STRTO.
Signed-off-by: Oliver Gaskell <Oliver.Gaskell@analog.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
-rw-r--r-- | drivers/core/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/core/Kconfig b/drivers/core/Kconfig index 1a7be4d9b4d..c39abe3bc94 100644 --- a/drivers/core/Kconfig +++ b/drivers/core/Kconfig @@ -146,6 +146,7 @@ config DM_SEQ_ALIAS config SPL_DM_SEQ_ALIAS bool "Support numbered aliases in device tree in SPL" depends on SPL_DM + select SPL_STRTO help Most boards will have a '/aliases' node containing the path to numbered devices (e.g. serial0 = &serial0). This feature can be |