ARM: Drop CMDLINE_* dependency on ATAGS
authorGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 27 Sep 2022 13:28:26 +0000 (15:28 +0200)
committerArnd Bergmann <arnd@arndb.de>
Wed, 28 Sep 2022 20:33:42 +0000 (22:33 +0200)
commit136f4b1ec7c962ee37a787e095fd37b058d72bd3
tree5f92c5ee32fc4b89a9ae2402c21ae7d1d2fa9900
parent502647105a1d0302d5fc32814da45bb4772becda
ARM: Drop CMDLINE_* dependency on ATAGS

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: bd51e2f595580fb6 ("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>
arch/arm/Kconfig