arm: mediatek: merge board Kconfigs into mach-mediatek
authorGuillaume La Roque <glaroque@baylibre.com>
Fri, 10 Sep 2021 08:21:06 +0000 (10:21 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 23 Sep 2021 18:15:32 +0000 (14:15 -0400)
commitdf3ab898f644db6d8b7337f0a7f0995ecf41b730
tree36eb2fdd597ffea2d5437b9ee9c71caebea48696
parenta69753f31d5863c692522f0b92db6e9cad06d553
arm: mediatek: merge board Kconfigs into mach-mediatek

On MediaTek boards we cannot override the SYS_BOARD / SYS_CONFIG_NAME
variables from defconfig.
This is because in board/mediatek/mtXXXX/Kconfig this value was override
by default due to the if CONFIG_TARGET_MTXXXX condition.

Merge all the Kconfigs to the mach-medatek/Kconfig.

This way:
- we only define SYS_{SOC,VENDOR} once
- all board definitions are in a single place, simplifying the build logic.

Signed-off-by: Guillaume La Roque <glaroque@baylibre.com>
13 files changed:
arch/arm/mach-mediatek/Kconfig
arch/mips/mach-mtmips/Kconfig
arch/mips/mach-mtmips/mt7620/Kconfig
arch/mips/mach-mtmips/mt7628/Kconfig
board/mediatek/mt7620/Kconfig [deleted file]
board/mediatek/mt7622/Kconfig [deleted file]
board/mediatek/mt7623/Kconfig [deleted file]
board/mediatek/mt7628/Kconfig [deleted file]
board/mediatek/mt7629/Kconfig [deleted file]
board/mediatek/mt8183/Kconfig [deleted file]
board/mediatek/mt8512/Kconfig [deleted file]
board/mediatek/mt8516/Kconfig [deleted file]
board/mediatek/mt8518/Kconfig [deleted file]