summaryrefslogtreecommitdiff
path: root/src/mainboard/google/herobrine/Kconfig
diff options
context:
space:
mode:
authorT Michael Turney <mturney@codeaurora.org>2021-03-18 09:16:44 -0700
committerPatrick Georgi <pgeorgi@google.com>2021-04-15 19:07:56 +0000
commitb97e6f713e1e2891b7ea8b76b34cfb24a2d74f64 (patch)
treeb7d3cdc3e7c6977c3484ba41d4492d6b67d70238 /src/mainboard/google/herobrine/Kconfig
parent0c9eb3153386f9a3e70f3777df7e036a6c6249a3 (diff)
herobrine: sc7280: Provide initial mainboard support
BUG=b:182963902 TEST=Validated on qualcomm sc7280 developement board Change-Id: I428cf1a461ee63215f5683abbfed90202d1b2a88 Signed-off-by: Ravi Kumar Bokka <rbokka@codeaurora.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/45206 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Shelley Chen <shchen@google.com>
Diffstat (limited to 'src/mainboard/google/herobrine/Kconfig')
-rw-r--r--src/mainboard/google/herobrine/Kconfig42
1 files changed, 42 insertions, 0 deletions
diff --git a/src/mainboard/google/herobrine/Kconfig b/src/mainboard/google/herobrine/Kconfig
new file mode 100644
index 0000000000..eb1e986246
--- /dev/null
+++ b/src/mainboard/google/herobrine/Kconfig
@@ -0,0 +1,42 @@
+config BOARD_GOOGLE_HEROBRINE_COMMON # Umbrella option to be selected by variants
+ def_bool n
+
+if BOARD_GOOGLE_HEROBRINE_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_SC7280
+ 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/herobrine"
+
+config MAINBOARD_VENDOR
+ string
+ default "Google"
+
+
+##########################################################
+#### Update below when adding a new derivative board. ####
+##########################################################
+
+config MAINBOARD_PART_NUMBER
+ string
+ default "Herobrine" if BOARD_GOOGLE_HEROBRINE
+
+endif # BOARD_GOOGLE_HEROBRINE_COMMON