]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: add ATAGS dependencies to non-DT platforms
authorArnd Bergmann <arnd@arndb.de>
Tue, 5 Jul 2022 12:10:34 +0000 (14:10 +0200)
committerArnd Bergmann <arnd@arndb.de>
Fri, 22 Jul 2022 11:11:21 +0000 (13:11 +0200)
commitbb616bc891c842252395ce365efd90134a7ae6c7
treef4ce6310c387af04141a6c26068fac61079e0127
parent3ad21d4dec73540e8b735fc9a8c25a135db35f41
ARM: add ATAGS dependencies to non-DT platforms

There are a total of eight platforms that only suppor ATAGS based boot
with board files but no devicetree booting.

For dove, the DT support is part of the mvebu platform, which shares
driver but no code in arch/arm.

Most of these will never get converted to DT, and the majority of the
board files appear to be entirely unused already. There are still known
users on a few machines, and there may be interest in converting some
omap1, ep93xx or footbridge machines over in the future.

For the moment, just add a Kconfig dependency to hide these platforms
completely when CONFIG_ATAGS is disabled, and reorder the priority
of the options: Rather than offering to turn ATAGS off for platforms
that have DT support, make it a top-level setting that determines
which platforms are visible.

The s3c24xx platform supports one machine with DT support, but it
cannot be built without also including ATAGS support, and the
entire platform is scheduled for removal, so leaving the entire
platform behind a dependency seems good enough.

All defconfig files should keep working, as the option remains default
enabled.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/Kconfig
arch/arm/mach-cns3xxx/Kconfig
arch/arm/mach-dove/Kconfig
arch/arm/mach-ep93xx/Kconfig
arch/arm/mach-iop32x/Kconfig
arch/arm/mach-mv78xx0/Kconfig
arch/arm/mach-omap1/Kconfig
arch/arm/mach-s3c/Kconfig.s3c24xx