1 # SPDX-License-Identifier: GPL-2.0-or-later
3 config BOARD_GOOGLE_BASEBOARD_SKYRIM
6 if BOARD_GOOGLE_BASEBOARD_SKYRIM
8 config AMD_FWM_POSITION_INDEX
12 TODO: might need to be adapted for better placement of files in cbfs
14 config BOARD_SPECIFIC_OPTIONS
16 select AMD_SOC_CONSOLE_UART
17 select BOARD_ROMSIZE_KB_16384
18 select DRIVERS_GENERIC_GPIO_KEYS
19 select DRIVERS_GENERIC_MAX98357A
20 select DRIVERS_ACPI_THERMAL_ZONE
21 select DRIVERS_I2C_GENERIC
22 select DRIVERS_I2C_HID
23 select DRIVERS_I2C_NAU8825
24 select DRIVERS_USB_HUB
25 select DRIVERS_UART_ACPI
26 select DRIVERS_PCIE_GENERIC
27 select EC_GOOGLE_CHROMEEC
28 select EC_GOOGLE_CHROMEEC_ESPI
29 select EC_GOOGLE_CHROMEEC_SKUID
30 select EC_GOOGLE_CHROMEEC_BOARDID
34 select FW_CONFIG_SOURCE_CHROMEEC_CBI
36 select MAINBOARD_HAS_CHROMEOS
37 select MAINBOARD_HAS_TPM2
38 select SOC_AMD_MENDOCINO
39 select SOC_AMD_COMMON_BLOCK_ACPI_DPTC if !BOARD_GOOGLE_WINTERHOLD && !BOARD_GOOGLE_MORTHAL
40 select SOC_AMD_COMMON_BLOCK_USE_ESPI
41 select TPM_GOOGLE_TI50
44 select PCIEXP_COMMON_CLOCK
45 select PCIEXP_L1_SUB_STATE
48 default "variants/baseboard/devicetree.cb"
50 config DRIVER_TPM_I2C_BUS
54 config DRIVER_TPM_I2C_ADDR
64 depends on HAVE_SPL_FILE
65 default "3rdparty/blobs/mainboard/google/skyrim/TypeId0x55_SplTableBl_MDN_CHROME.sbin"
68 default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/chromeos.fmd"
71 default "google/skyrim"
73 config MAINBOARD_FAMILY
75 default "Google_Skyrim"
77 config MAINBOARD_PART_NUMBER
78 default "Skyrim" if BOARD_GOOGLE_SKYRIM
79 default "Winterhold" if BOARD_GOOGLE_WINTERHOLD
80 default "Morthal" if BOARD_GOOGLE_MORTHAL
81 default "Frostflow" if BOARD_GOOGLE_FROSTFLOW
83 config OVERRIDE_DEVICETREE
85 default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb"
89 default "skyrim" if BOARD_GOOGLE_SKYRIM
90 default "winterhold" if BOARD_GOOGLE_WINTERHOLD
91 default "morthal" if BOARD_GOOGLE_MORTHAL
92 default "frostflow" if BOARD_GOOGLE_FROSTFLOW
95 select EC_GOOGLE_CHROMEEC_SWITCHES
96 select VBOOT_LID_SWITCH
97 select VBOOT_SEPARATE_VERSTAGE
99 config VBOOT_STARTS_BEFORE_BOOTBLOCK
100 bool "Enable PSP_verstage"
102 select SEPARATE_SIGNED_PSPFW
104 config VBOOT_STARTS_IN_BOOTBLOCK
106 default y if VBOOT && !VBOOT_STARTS_BEFORE_BOOTBLOCK
108 # TODO: Remove once CBFS verification on AMD has been fixed.
113 if !EM100 # EM100 defaults in soc/amd/common/blocks/spi/Kconfig
114 config EFS_SPI_READ_MODE
115 default 2 # Dual IO (1-1-2)
120 config EFS_SPI_MICRON_FLAG
123 config NORMAL_READ_SPI_SPEED
131 config OVERRIDE_EFS_SPI_SPEED
136 Override EFS SPI Speed Configuration to be applied based on certain
139 config OVERRIDE_EFS_SPI_SPEED_MIN_BOARD
141 default 0x5 if BOARD_GOOGLE_SKYRIM
144 Minimum board version starting which the Override EFS SPI Speed
145 configuration has to be applied.
147 endif # BOARD_GOOGLE_BASEBOARD_SKYRIM