1 # SPDX-License-Identifier: GPL-2.0-only
3 config BOARD_GOOGLE_BASEBOARD_KAHLEE
5 select ALWAYS_LOAD_OPROM
6 select ALWAYS_RUN_OPROM
7 select AMD_APU_STONEYRIDGE
9 select AMD_FWM_POSITION_F20000_DEFAULT
10 select AMD_SOC_CONSOLE_UART
11 select BOARD_ROMSIZE_KB_16384
12 select DRIVERS_GENERIC_ADAU7002
13 select DRIVERS_GENERIC_BH720
14 select DRIVERS_GENERIC_MAX98357A
15 select DRIVERS_I2C_DA7219
16 select DRIVERS_I2C_GENERIC
17 select DRIVERS_I2C_HID
18 select EC_GOOGLE_CHROMEEC
19 select EC_GOOGLE_CHROMEEC_BOARDID
20 select EC_GOOGLE_CHROMEEC_LPC
22 select GOOGLE_SMBIOS_MAINBOARD_VERSION
23 select HAVE_ACPI_RESUME
24 select HAVE_ACPI_TABLES
25 select HAVE_EM100_SUPPORT
26 select HAVE_SPD_IN_CBFS
28 select MAINBOARD_HAS_CHROMEOS
29 select MAINBOARD_HAS_TPM2
32 select PCIEXP_COMMON_CLOCK
33 select PCIEXP_L1_SUB_STATE
34 select SERIRQ_CONTINUOUS_MODE
35 select SOC_AMD_COMMON_BLOCK_GRAPHICS_ACP
36 select SOC_AMD_COMMON_BLOCK_GRAPHICS_ATIF
37 select SOC_AMD_SMU_FANLESS
38 select SOC_AMD_STONEYRIDGE
39 select SYSTEM_TYPE_LAPTOP
40 select TPM_GOOGLE_CR50
42 config BOARD_GOOGLE_ALEENA
43 select BOARD_GOOGLE_BASEBOARD_KAHLEE
45 config BOARD_GOOGLE_CAREENA
46 select BOARD_GOOGLE_BASEBOARD_KAHLEE
48 config BOARD_GOOGLE_GRUNT
49 select BOARD_GOOGLE_BASEBOARD_KAHLEE
51 config BOARD_GOOGLE_LIARA
52 select BOARD_GOOGLE_BASEBOARD_KAHLEE
54 config BOARD_GOOGLE_NUWANI
55 select BOARD_GOOGLE_BASEBOARD_KAHLEE
57 config BOARD_GOOGLE_TREEYA
58 select BOARD_GOOGLE_BASEBOARD_KAHLEE
60 if BOARD_GOOGLE_BASEBOARD_KAHLEE
63 default "google/kahlee"
67 default "3rdparty/blobs/mainboard/google/kahlee/aleena/VBIOS_015_049_000_018.bin" if BOARD_GOOGLE_ALEENA
68 default "3rdparty/blobs/mainboard/google/kahlee/liara/VBIOS_BRT39865.001.bin" if BOARD_GOOGLE_LIARA
69 default "3rdparty/blobs/mainboard/google/kahlee/VBIOS_015_049_000_017.bin"
72 default "aleena" if BOARD_GOOGLE_ALEENA
73 default "careena" if BOARD_GOOGLE_CAREENA
74 default "grunt" if BOARD_GOOGLE_GRUNT
75 default "liara" if BOARD_GOOGLE_LIARA
76 default "nuwani" if BOARD_GOOGLE_NUWANI
77 default "treeya" if BOARD_GOOGLE_TREEYA
79 config MAINBOARD_PART_NUMBER
80 default "Aleena" if BOARD_GOOGLE_ALEENA
81 default "Careena" if BOARD_GOOGLE_CAREENA
82 default "Grunt" if BOARD_GOOGLE_GRUNT
83 default "Liara" if BOARD_GOOGLE_LIARA
84 default "Nuwani" if BOARD_GOOGLE_NUWANI
85 default "Treeya" if BOARD_GOOGLE_TREEYA
88 default "variants/baseboard/devicetree.cb"
90 config OVERRIDE_DEVICETREE
91 default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb"
93 config MAINBOARD_FAMILY
95 default "Google_Kahlee"
98 default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/variants/baseboard/chromeos.fmd" if CHROMEOS
101 The build system creates a default FMAP from ROM_SIZE and CBFS_SIZE,
102 but in some cases more complex setups are required.
103 When an fmd is specified, it overrides the default format.
109 config IRQ_SLOT_COUNT
113 config ONBOARD_VGA_IS_PRIMARY
118 select EC_GOOGLE_CHROMEEC_SWITCHES
119 select VBOOT_LID_SWITCH
121 config VBOOT_VBNV_OFFSET
126 select LP_DEFCONFIG_OVERRIDE if PAYLOAD_DEPTHCHARGE
128 config DRIVER_TPM_I2C_BUS
132 config DRIVER_TPM_I2C_ADDR
141 bool "Add an oem.bin file"
143 Add an oem.bin file to identify the manufacturer in SMBIOS, overriding the
144 CONFIG_MAINBOARD_SMBIOS_MANUFACTURER value.
147 string "OEM ID table"
148 depends on USE_OEM_BIN
151 if !EM100 # EM100 defaults in soc/amd/common/blocks/spi/Kconfig
152 config EFS_SPI_READ_MODE
153 default 4 # Dual IO (1-2-2)
158 config NORMAL_READ_SPI_SPEED
169 # Don't use AMD's Secure OS if ChromeOS build.
170 config USE_PSPSECUREOS
172 default n if CHROMEOS
176 prompt "UMA Memory Allocation"
177 default KAHLEE_UMA_SIZE_32MB
179 The amount of system memory allocated for the integrated GPU
181 config KAHLEE_UMA_SIZE_32MB
184 config KAHLEE_UMA_SIZE_64MB
187 config KAHLEE_UMA_SIZE_128MB
190 config KAHLEE_UMA_SIZE_256MB
195 config UMA_SIZE_IN_MB
197 default 32 if KAHLEE_UMA_SIZE_32MB
198 default 64 if KAHLEE_UMA_SIZE_64MB
199 default 128 if KAHLEE_UMA_SIZE_128MB
200 default 256 if KAHLEE_UMA_SIZE_256MB
202 endif # BOARD_GOOGLE_BASEBOARD_KAHLEE