diff options
| author | Tom Rini <[email protected]> | 2026-03-16 19:24:24 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2026-03-30 15:02:27 -0600 |
| commit | 4f2875911f67dc318096f5e0bc85c3b82512a2a5 (patch) | |
| tree | 761473891a7477c5ee2ec80929311f8abf282d85 /arch | |
| parent | aa8203f83ab500c1150188d9682e9fe6e29fd6ab (diff) | |
sysreset: Rework tests around SYSRESET_CMD_POWEROFF
As exposed by "make randconfig", we have an issue around how
SYSRESET_CMD_POWEROFF is typically selected. We cannot rely only on
CMD_POWEROFF as SYSRESET_CMD_POWEROFF must also be tested for its own
dependency of SYSRESET.
Signed-off-by: Tom Rini <[email protected]>
Diffstat (limited to 'arch')
| -rw-r--r-- | arch/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/Kconfig b/arch/Kconfig index fb3e8d598e7..b6e52654743 100644 --- a/arch/Kconfig +++ b/arch/Kconfig @@ -212,7 +212,7 @@ config SANDBOX select SUPPORT_OF_CONTROL select SUPPORT_BIG_ENDIAN select SUPPORT_LITTLE_ENDIAN - select SYSRESET_CMD_POWEROFF if CMD_POWEROFF + select SYSRESET_CMD_POWEROFF if SYSRESET && CMD_POWEROFF select SYS_CACHE_SHIFT_4 select IRQ select SUPPORT_EXTENSION_SCAN if CMDLINE |
