summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorMathew King <mathewk@chromium.org>2021-02-24 15:23:15 -0700
committerMartin Roth <martinroth@google.com>2021-03-14 00:39:45 +0000
commit60954722fa9bcf81715923a5db60db2a54d5df2a (patch)
tree3b7574c0ff8b18400df143edaad3e4b06f0c5d69 /src/mainboard
parent88dbfa96e6dec905329ca16fee0228f70e66f3a0 (diff)
mb/google/guybrush: Enable EM100 support on guybrush
Add the option to build guybrush firmware with support for EM100. This will assist in bringup of the new board. BUG=b:180723776 TEST=builds Signed-off-by: Mathew King <mathewk@chromium.org> Change-Id: I2246d2952f341cd8fff8fd486cf989cdb7929411 Reviewed-on: https://review.coreboot.org/c/coreboot/+/51071 Reviewed-by: Martin Roth <martinroth@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/google/guybrush/Kconfig11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/mainboard/google/guybrush/Kconfig b/src/mainboard/google/guybrush/Kconfig
index 81e80e9c41..937c61ba03 100644
--- a/src/mainboard/google/guybrush/Kconfig
+++ b/src/mainboard/google/guybrush/Kconfig
@@ -17,6 +17,7 @@ config BOARD_SPECIFIC_OPTIONS
select ELOG_GSMI
select FW_CONFIG
select HAVE_ACPI_RESUME
+ select HAVE_EM100_SUPPORT
select MAINBOARD_HAS_CHROMEOS
select SOC_AMD_CEZANNE
select SOC_AMD_COMMON_BLOCK_USE_ESPI
@@ -46,6 +47,16 @@ config AMD_FWM_POSITION_INDEX
help
TODO: might need to be adapted for better placement of files in cbfs
+config EFS_SPI_READ_MODE
+ int
+ default 0 if EM100 # Normal read mode
+ default 4 # Dual IO (1-2-2)
+
+config EFS_SPI_SPEED
+ int
+ default 3 if EM100 # 16.66 MHz
+ default 1 # 33.33 MHz
+
config VARIANT_DIR
string
default "guybrush" if BOARD_GOOGLE_GUYBRUSH