Merge tag 'u-boot-stm32-20211012' of https://source.denx.de/u-boot/custodians/u-boot-stm
[platform/kernel/u-boot.git] / arch / mips / mach-mtmips / mt7620 / Kconfig
index aa7cf1d..3ca711a 100644 (file)
@@ -7,6 +7,21 @@ config DEBUG_UART_BOARD_INIT
 choice
        prompt "Board select"
 
+config BOARD_MT7620_RFB
+       bool "MediaTek MT7620 RFB"
+       help
+         The reference design of MT7620A (WS2120). The board has 64 MiB DDR2,
+         8 MiB SPI-NOR flash, 1 built-in 6 port switch (two GE PHYs and five
+         FE PHYs,one port can be configured to use either FE PHY or GE PHY),
+         1 UART, 1 USB host, 1 SDXC, 1 PCIe socket and JTAG pins.
+
+config BOARD_MT7620_MT7530_RFB
+       bool "MediaTek MT7620-MT7530 RFB"
+       help
+         The reference design of MT7620DA (MTKC712). The board has 64 MiB
+         intergrated DDR2 KGD, 16 MiB SPI-NOR flash, an external 5-port giga
+         switch MT7530 and 1 UART.
+
 endchoice
 
 choice
@@ -51,4 +66,12 @@ config CPU_FREQ_MULTI
        default 6 if CPU_FREQ_600MHZ
        default 7 if CPU_FREQ_620MHZ
 
+config SYS_CONFIG_NAME
+       string "Board configuration name"
+       default "mt7620" if  BOARD_MT7620_RFB || BOARD_MT7620_MT7530_RFB
+
+config SYS_BOARD
+       string "Board name"
+       default "mt7620" if  BOARD_MT7620_RFB || BOARD_MT7620_MT7530_RFB
+
 endif