]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
sandbox: Avoid requiring CMDLINE
authorSimon Glass <sjg@chromium.org>
Thu, 26 Oct 2023 18:31:34 +0000 (14:31 -0400)
committerTom Rini <trini@konsulko.com>
Tue, 7 Nov 2023 19:49:40 +0000 (14:49 -0500)
Add some dependencies on features that we had been selecting so that we
can still disable CMDLINE.

Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Rini <trini@konsulko.com>
arch/Kconfig

index 6fa17b21b8fa6e067048e52f05f01d73e26625a4..1cdcd1fdb8b0e84df2c91fe7a7df84c14205e468 100644 (file)
@@ -134,7 +134,7 @@ config SANDBOX
        select ARCH_SUPPORTS_LTO
        select BOARD_LATE_INIT
        select BZIP2
-       select CMD_POWEROFF
+       select CMD_POWEROFF if CMDLINE
        select DM
        select DM_EVENT
        select DM_FUZZING_ENGINE
@@ -152,10 +152,10 @@ config SANDBOX
        select PCI_ENDPOINT
        select SPI
        select SUPPORT_OF_CONTROL
-       select SYSRESET_CMD_POWEROFF
+       select SYSRESET_CMD_POWEROFF if CMD_POWEROFF
        select SYS_CACHE_SHIFT_4
        select IRQ
-       select SUPPORT_EXTENSION_SCAN
+       select SUPPORT_EXTENSION_SCAN if CMDLINE
        select SUPPORT_ACPI
        imply BITREVERSE
        select BLOBLIST