summaryrefslogtreecommitdiff
path: root/arch/mips/mach-mtmips/mt7628/Kconfig
diff options
context:
space:
mode:
authorGuillaume La Roque <glaroque@baylibre.com>2021-09-10 11:21:06 +0300
committerTom Rini <trini@konsulko.com>2021-09-23 21:15:32 +0300
commitdf3ab898f644db6d8b7337f0a7f0995ecf41b730 (patch)
tree36eb2fdd597ffea2d5437b9ee9c71caebea48696 /arch/mips/mach-mtmips/mt7628/Kconfig
parenta69753f31d5863c692522f0b92db6e9cad06d553 (diff)
downloadu-boot-df3ab898f644db6d8b7337f0a7f0995ecf41b730.tar.xz
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>
Diffstat (limited to 'arch/mips/mach-mtmips/mt7628/Kconfig')
-rw-r--r--arch/mips/mach-mtmips/mt7628/Kconfig9
1 files changed, 8 insertions, 1 deletions
diff --git a/arch/mips/mach-mtmips/mt7628/Kconfig b/arch/mips/mach-mtmips/mt7628/Kconfig
index f451c1593f..e7273591bc 100644
--- a/arch/mips/mach-mtmips/mt7628/Kconfig
+++ b/arch/mips/mach-mtmips/mt7628/Kconfig
@@ -44,8 +44,15 @@ config SPL_UART2_SPIS_PINMUX
Select this if the UART2 of your board is connected to GPIO 16/17
(shared with SPIS) rather than the usual GPIO 20/21.
+config SYS_BOARD
+ string "Board name"
+ default "mt7628" if BOARD_MT7628_RFB
+
+config SYS_CONFIG_NAME
+ string "Board configuration name"
+ default "mt7628" if BOARD_MT7628_RFB
+
source "board/gardena/smart-gateway-mt7688/Kconfig"
-source "board/mediatek/mt7628/Kconfig"
source "board/seeed/linkit-smart-7688/Kconfig"
source "board/vocore/vocore2/Kconfig"