summaryrefslogtreecommitdiff
path: root/src/mainboard/google/trogdor/Kconfig
diff options
context:
space:
mode:
authorT Michael Turney <mturney@codeaurora.org>2019-10-10 12:19:51 -0700
committerJulius Werner <jwerner@chromium.org>2019-10-25 23:38:44 +0000
commitfda6cd6d28ee5e314639f02cf79d6b00a27f249e (patch)
tree2d1d39b96724f974a61134d141d1929ec8a1c204 /src/mainboard/google/trogdor/Kconfig
parent0cd098e4e41d6bb3b27327d4a6526bd7004bfc77 (diff)
trogdor: Provide initial mainboard support
Change-Id: Ic2f0944b92dcad7048a0c38720d2ef3c855ef007 Signed-off-by: T Michael Turney <mturney@codeaurora.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/35495 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'src/mainboard/google/trogdor/Kconfig')
-rw-r--r--src/mainboard/google/trogdor/Kconfig50
1 files changed, 50 insertions, 0 deletions
diff --git a/src/mainboard/google/trogdor/Kconfig b/src/mainboard/google/trogdor/Kconfig
new file mode 100644
index 0000000000..56b3a729c2
--- /dev/null
+++ b/src/mainboard/google/trogdor/Kconfig
@@ -0,0 +1,50 @@
+
+config BOARD_GOOGLE_TROGDOR_COMMON # Umbrella option to be selected by variants
+ def_bool n
+
+if BOARD_GOOGLE_TROGDOR_COMMON
+
+config BOARD_SPECIFIC_OPTIONS
+ def_bool y
+ select BOARD_ROMSIZE_KB_8192
+ select COMMON_CBFS_SPI_WRAPPER
+ select EC_GOOGLE_CHROMEEC
+ select EC_GOOGLE_CHROMEEC_RTC
+ select EC_GOOGLE_CHROMEEC_SPI
+ select RTC
+ select SOC_QUALCOMM_SC7180
+ select SPI_FLASH
+ select SPI_FLASH_WINBOND
+ select MAINBOARD_HAS_CHROMEOS
+
+config VBOOT
+ select EC_GOOGLE_CHROMEEC_SWITCHES
+ select VBOOT_VBNV_FLASH
+ select GBB_FLAG_DISABLE_EC_SOFTWARE_SYNC
+ select VBOOT_MOCK_SECDATA
+
+config MAINBOARD_DIR
+ string
+ default google/trogdor
+
+config MAINBOARD_VENDOR
+ string
+ default "Google"
+
+config DRIVER_TPM_SPI_BUS
+ hex
+ default 0x5
+
+config EC_GOOGLE_CHROMEEC_SPI_BUS
+ hex
+ default 0xa
+
+##########################################################
+#### Update below when adding a new derivative board. ####
+##########################################################
+
+config MAINBOARD_PART_NUMBER
+ string
+ default "Trogdor" if BOARD_GOOGLE_TROGDOR
+
+endif # BOARD_GOOGLE_TROGDOR_COMMON