1 # SPDX-License-Identifier: GPL-2.0-or-later
3 config BOARD_GOOGLE_BASEBOARD_SKYRIM
6 config BOARD_GOOGLE_CRYSTALDRIFT
7 select BOARD_GOOGLE_BASEBOARD_SKYRIM
9 config BOARD_GOOGLE_FROSTFLOW
10 select BOARD_GOOGLE_BASEBOARD_SKYRIM
11 select DRIVERS_GENESYSLOGIC_GL9755
12 select FEATURE_TABLET_MODE_DPTC
13 select SOC_AMD_COMMON_BLOCK_ACPI_DPTC
15 config BOARD_GOOGLE_MARKARTH
16 select BOARD_GOOGLE_BASEBOARD_SKYRIM
17 select SOC_AMD_COMMON_BLOCK_ACPI_DPTC
19 config BOARD_GOOGLE_SKYRIM
20 select BOARD_GOOGLE_BASEBOARD_SKYRIM
21 select SOC_AMD_COMMON_BLOCK_ACPI_DPTC
23 config BOARD_GOOGLE_WINTERHOLD
24 select BOARD_GOOGLE_BASEBOARD_SKYRIM
25 select SOC_AMD_COMMON_BLOCK_ACPI_DPTC
26 select FEATURE_DYNAMIC_DPTC
28 if BOARD_GOOGLE_BASEBOARD_SKYRIM
30 config BOARD_SPECIFIC_OPTIONS
32 select ACPI_S1_NOT_SUPPORTED
33 select AMD_FWM_POSITION_C20000_DEFAULT
34 select AMD_SOC_CONSOLE_UART
35 select BOARD_ROMSIZE_KB_16384
36 select DISABLE_KEYBOARD_RESET_PIN
37 select DISABLE_SPI_FLASH_ROM_SHARING
38 select DRIVERS_GENERIC_GPIO_KEYS
39 select DRIVERS_GENERIC_MAX98357A
40 select DRIVERS_ACPI_THERMAL_ZONE
41 select DRIVERS_I2C_GENERIC
42 select DRIVERS_I2C_HID
43 select DRIVERS_I2C_NAU8825
44 select DRIVERS_USB_HUB
45 select DRIVERS_UART_ACPI
46 select DRIVERS_PCIE_GENERIC
47 select DRIVERS_PCIE_RTD3_DEVICE
48 select EC_GOOGLE_CHROMEEC
49 select EC_GOOGLE_CHROMEEC_BOARDID
50 select EC_GOOGLE_CHROMEEC_ESPI
51 select EC_GOOGLE_CHROMEEC_SKUID
55 select FW_CONFIG_SOURCE_CHROMEEC_CBI
56 select GOOGLE_SMBIOS_MAINBOARD_VERSION
57 select HAS_RECOVERY_MRC_CACHE
59 select MAINBOARD_HAS_CHROMEOS
60 select MAINBOARD_HAS_TPM2
61 select MB_COMPRESS_RAMSTAGE_LZ4
64 select PCIEXP_COMMON_CLOCK
65 select PCIEXP_L1_SUB_STATE
66 select SOC_AMD_MENDOCINO
67 select SOC_AMD_COMMON_BLOCK_I2C3_TPM_SHARED_WITH_PSP
68 select SOC_AMD_COMMON_BLOCK_USE_ESPI
69 select SOC_AMD_GFX_CACHE_VBIOS_IN_FMAP if CHROMEOS && RUN_FSP_GOP
70 select SYSTEM_TYPE_LAPTOP
71 select TPM_GOOGLE_TI50
74 default "variants/baseboard/devicetree.cb"
76 config DRIVER_TPM_I2C_BUS
80 config DRIVER_TPM_I2C_ADDR
88 config AMDFW_CONFIG_FILE
90 default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/amdfw.cfg"
92 Custom firmware list excluding the fwTPM binary.
94 config PSP_LOAD_MP2_FW
95 prompt "Load MP2 Firmware"
101 default "3rdparty/blobs/mainboard/google/skyrim/TypeId0x55_SplTableBl_MDN_CHROME_RO.sbin"
103 config HAVE_SPL_RW_AB_FILE
107 config SPL_RW_AB_TABLE_FILE
109 default "3rdparty/blobs/mainboard/google/skyrim/TypeId0x55_SplTableBl_MDN_CHROME.sbin"
111 config PERFORM_SPL_FUSING
112 default n if BOARD_GOOGLE_SKYRIM
116 default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/chromeos.fmd"
119 default "google/skyrim"
121 config MAINBOARD_FAMILY
123 default "Google_Skyrim"
125 config MAINBOARD_PART_NUMBER
126 default "Crystaldrift" if BOARD_GOOGLE_CRYSTALDRIFT
127 default "Frostflow" if BOARD_GOOGLE_FROSTFLOW
128 default "Markarth" if BOARD_GOOGLE_MARKARTH
129 default "Skyrim" if BOARD_GOOGLE_SKYRIM
130 default "Winterhold" if BOARD_GOOGLE_WINTERHOLD
132 config OVERRIDE_DEVICETREE
134 default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb"
138 default "crystaldrift" if BOARD_GOOGLE_CRYSTALDRIFT
139 default "frostflow" if BOARD_GOOGLE_FROSTFLOW
140 default "markarth" if BOARD_GOOGLE_MARKARTH
141 default "skyrim" if BOARD_GOOGLE_SKYRIM
142 default "winterhold" if BOARD_GOOGLE_WINTERHOLD
144 config USE_SELECTIVE_GOP_INIT
145 default y if CHROMEOS && RUN_FSP_GOP && BOARD_GOOGLE_SKYRIM
148 select EC_GOOGLE_CHROMEEC_SWITCHES
149 select VBOOT_LID_SWITCH
150 select VBOOT_SEPARATE_VERSTAGE
152 config VBOOT_STARTS_BEFORE_BOOTBLOCK
153 bool "Enable PSP_verstage"
155 select SEPARATE_SIGNED_PSPFW
157 config VBOOT_STARTS_IN_BOOTBLOCK
159 default y if VBOOT && !VBOOT_STARTS_BEFORE_BOOTBLOCK
161 if !EM100 # EM100 defaults in soc/amd/common/blocks/spi/Kconfig
162 config EFS_SPI_READ_MODE
163 default 2 if BOARD_GOOGLE_SKYRIM # Dual IO (1-1-2)
164 default 4 # Dual IO (1-2-2)
167 default 4 if BOARD_GOOGLE_WINTERHOLD
170 config EFS_SPI_MICRON_FLAG
173 config NORMAL_READ_SPI_SPEED
177 default 4 if BOARD_GOOGLE_WINTERHOLD
182 config OVERRIDE_EFS_SPI_SPEED
187 Override EFS SPI Speed Configuration to be applied based on certain
190 config OVERRIDE_EFS_SPI_SPEED_MIN_BOARD
192 default 0x1 if BOARD_GOOGLE_CRYSTALDRIFT
193 default 0x1 if BOARD_GOOGLE_FROSTFLOW
194 default 0x1 if BOARD_GOOGLE_MARKARTH
195 default 0x5 if BOARD_GOOGLE_SKYRIM
198 Minimum board version starting which the Override EFS SPI Speed
199 configuration has to be applied.
201 config CONSOLE_CBMEM_BUFFER_SIZE
205 config ENABLE_STB_SPILL_TO_DRAM
208 Spill-to-DRAM is an STB feature that extends the buffer from using
209 just the small SRAM buffer to a much larger area reserved in main
212 config CARDBUS_PLUGIN_SUPPORT
215 # Exclude support for SPI ROM types that won't be used on Skyrim platforms
216 config SPI_FLASH_DONT_INCLUDE_ALL_DRIVERS
219 # Gigadevice is used on Whiterun as an alternative to Winbond
220 config SPI_FLASH_GIGADEVICE
223 # XMC chips used on Markarth as an alternative to Winbond
224 # These chips identify as ST Micro (Manufacturer ID: 0x20)
225 config SPI_FLASH_STMICRO
228 # Winbond chips are used by all Skyrim devices as the primary flash chip
229 config SPI_FLASH_WINBOND
232 endif # BOARD_GOOGLE_BASEBOARD_SKYRIM