Skip to content

Commit 59cdd07

Browse files
geertugregkh
authored andcommitted
ARM: Drop CMDLINE_* dependency on ATAGS
[ Upstream commit 136f4b1 ] On arm32, the configuration options to specify the kernel command line type depend on ATAGS. However, the actual CMDLINE cofiguration option does not depend on ATAGS, and the code that handles this is not specific to ATAGS (see drivers/of/fdt.c:early_init_dt_scan_chosen()). Hence users who desire to override the kernel command line on arm32 must enable support for ATAGS, even on a pure-DT system. Other architectures (arm64, loongarch, microblaze, nios2, powerpc, and riscv) do not impose such a restriction. Hence drop the dependency on ATAGS. Fixes: bd51e2f ("ARM: 7506/1: allow for ATAGS to be configured out when DT support is selected") Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Acked-by: Ard Biesheuvel <ardb@kernel.org> Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent c665b41 commit 59cdd07

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

arch/arm/Kconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1653,7 +1653,6 @@ config CMDLINE
16531653
choice
16541654
prompt "Kernel command line type" if CMDLINE != ""
16551655
default CMDLINE_FROM_BOOTLOADER
1656-
depends on ATAGS
16571656

16581657
config CMDLINE_FROM_BOOTLOADER
16591658
bool "Use bootloader kernel arguments if available"

0 commit comments

Comments
 (0)