summaryrefslogtreecommitdiff
path: root/src/mainboard/google/corsola/Kconfig
diff options
context:
space:
mode:
authorRex-BC Chen <rex-bc.chen@mediatek.corp-partner.google.com>2021-09-09 18:43:22 +0800
committerPatrick Georgi <pgeorgi@google.com>2021-11-03 08:26:28 +0000
commit74a06296608e4c868e101ea47c0a1389977ecd91 (patch)
tree1332211a34531c448be0d538d60bbfa5c0d57c41 /src/mainboard/google/corsola/Kconfig
parent73e6b8e3eb085110dad1d57e148ed78534b31fad (diff)
mb/google/corsola: Add MediaTek MT8186 reference board
Add mainboard folder and drivers for new reference board 'Corsola'. TEST=build pass BUG=b:200134633 Signed-off-by: Rex-BC Chen <rex-bc.chen@mediatek.com> Change-Id: I2d701c03c97d3253effb6e93a2d55dcf6cf02db6 Reviewed-on: https://review.coreboot.org/c/coreboot/+/58648 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Rex-BC Chen <rex-bc.chen@mediatek.corp-partner.google.com> Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Diffstat (limited to 'src/mainboard/google/corsola/Kconfig')
-rw-r--r--src/mainboard/google/corsola/Kconfig25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/mainboard/google/corsola/Kconfig b/src/mainboard/google/corsola/Kconfig
new file mode 100644
index 0000000000..8b38d2bba4
--- /dev/null
+++ b/src/mainboard/google/corsola/Kconfig
@@ -0,0 +1,25 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
+# Umbrella option to be selected by variant boards.
+config BOARD_GOOGLE_CORSOLA_COMMON
+ def_bool n
+
+if BOARD_GOOGLE_CORSOLA_COMMON
+
+config BOARD_SPECIFIC_OPTIONS
+ def_bool y
+ select SOC_MEDIATEK_MT8186
+ select BOARD_ROMSIZE_KB_8192
+ select MAINBOARD_HAS_CHROMEOS
+ select COMMON_CBFS_SPI_WRAPPER
+ select SPI_FLASH
+ select SPI_FLASH_INCLUDE_ALL_DRIVERS
+
+config MAINBOARD_DIR
+ string
+ default "google/corsola"
+
+config MAINBOARD_PART_NUMBER
+ string
+ default "Corsola" if BOARD_GOOGLE_CORSOLA
+endif