]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: core: Make SPL_DM_SEQ_ALIAS select SPL_STRTO
authorGaskell, Oliver <Oliver.Gaskell@analog.com>
Mon, 19 Aug 2024 09:43:52 +0000 (09:43 +0000)
committerTom Rini <trini@konsulko.com>
Wed, 28 Aug 2024 00:01:28 +0000 (18:01 -0600)
commit716ab3fb23708347a7f3e5ff68ed5a0b0c9267a7
treea1a44f3d9d4c043140479d2ddc3e97aa2c03f7bb
parentdf5286e82d0272126b38e8e3116c61b0b010ddbd
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>
drivers/core/Kconfig