summaryrefslogtreecommitdiff
path: root/src/mainboard/google/asurada/Kconfig
diff options
context:
space:
mode:
authorCK Hu <ck.hu@mediatek.com>2020-05-13 10:45:08 +0800
committerHung-Te Lin <hungte@chromium.org>2020-08-13 05:34:50 +0000
commit02bab4ddcfe09c0cbbc82ece6c9575f573e8d799 (patch)
treeb1d330737312808b8a7e70bd5e1a20a4e9445e0e /src/mainboard/google/asurada/Kconfig
parent958ab46ddae6bf906e4db3d499ca719c019c78c8 (diff)
downloadcoreboot-02bab4ddcfe09c0cbbc82ece6c9575f573e8d799.tar.xz
mb/google/asurada: Add new MT8192 mainboard "Asurada"
The placeholder functions and build rules for generating a minimal firmware to run on MT8192 SOC based mainboard "Asurada". Signed-off-by: CK Hu <ck.hu@mediatek.com> Change-Id: Ic7c8bc8a4bba40d1b511823e09945be52198b247 Reviewed-on: https://review.coreboot.org/c/coreboot/+/43963 Reviewed-by: Yu-Ping Wu <yupingso@google.com> Reviewed-by: Hung-Te Lin <hungte@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/asurada/Kconfig')
-rw-r--r--src/mainboard/google/asurada/Kconfig52
1 files changed, 52 insertions, 0 deletions
diff --git a/src/mainboard/google/asurada/Kconfig b/src/mainboard/google/asurada/Kconfig
new file mode 100644
index 0000000000..e1c96f090c
--- /dev/null
+++ b/src/mainboard/google/asurada/Kconfig
@@ -0,0 +1,52 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
+# Umbrella option to be selected by variant boards.
+config BOARD_GOOGLE_ASURADA_COMMON
+ def_bool n
+
+if BOARD_GOOGLE_ASURADA_COMMON
+
+config VBOOT
+ select EC_GOOGLE_CHROMEEC_SWITCHES
+ select VBOOT_VBNV_FLASH
+
+config BOARD_SPECIFIC_OPTIONS
+ def_bool y
+ select BOOTBLOCK_CONSOLE
+ select SOC_MEDIATEK_MT8192
+ select BOARD_ROMSIZE_KB_8192
+ select MAINBOARD_HAS_CHROMEOS
+ select CHROMEOS_USE_EC_WATCHDOG_FLAG if CHROMEOS
+ select COMMON_CBFS_SPI_WRAPPER
+ select SPI_FLASH
+ select SPI_FLASH_INCLUDE_ALL_DRIVERS
+ select EC_GOOGLE_CHROMEEC
+ select EC_GOOGLE_CHROMEEC_BOARDID
+ select EC_GOOGLE_CHROMEEC_SPI
+ select MAINBOARD_HAS_SPI_TPM_CR50 if VBOOT
+ select MAINBOARD_HAS_TPM2 if VBOOT
+ select MAINBOARD_HAS_NATIVE_VGA_INIT
+ select MAINBOARD_FORCE_NATIVE_VGA_INIT
+ select HAVE_LINEAR_FRAMEBUFFER
+
+config MAINBOARD_DIR
+ string
+ default "google/asurada"
+
+config MAINBOARD_PART_NUMBER
+ string
+ default "Asurada" if BOARD_GOOGLE_ASURADA
+
+config DRIVER_TPM_SPI_BUS
+ hex
+ default 0x0
+
+config BOOT_DEVICE_SPI_FLASH_BUS
+ int
+ default 1
+
+config EC_GOOGLE_CHROMEEC_SPI_BUS
+ hex
+ default 0x2
+
+endif