b8fba86b14
Kconfig 4.17 started using the $(..) syntax for environment variable expansion while we want to keep expansion to the build system. Older Kconfig versions (like ours) simply drop the escapes, not changing the behavior. While we could let Kconfig expand some of the variables, that only splits the handling in two places, making debugging harder and potentially messing with reproducible builds (e.g. when paths end up in configs), so escape them all. Change-Id: Ibc4087fdd76089352bd8dd0edb1351ec79ea4faa Signed-off-by: Patrick Georgi <pgeorgi@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/42481 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Werner Zeh <werner.zeh@siemens.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Frans Hendriks <fhendriks@eltan.com> Reviewed-by: Wim Vervoorn <wvervoorn@eltan.com>
130 lines
2.9 KiB
Text
130 lines
2.9 KiB
Text
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
config BOARD_GOOGLE_BASEBOARD_KAHLEE
|
|
bool
|
|
select SOC_AMD_STONEYRIDGE
|
|
select AMD_APU_STONEYRIDGE
|
|
select AMD_APU_PKG_FT4
|
|
select ALWAYS_LOAD_OPROM
|
|
select ALWAYS_RUN_OPROM
|
|
select BOARD_ROMSIZE_KB_16384
|
|
select DRIVERS_I2C_GENERIC
|
|
select DRIVERS_I2C_HID
|
|
select EC_GOOGLE_CHROMEEC
|
|
select EC_GOOGLE_CHROMEEC_BOARDID
|
|
select EC_GOOGLE_CHROMEEC_LPC
|
|
select HAVE_ACPI_TABLES
|
|
select GENERIC_SPD_BIN
|
|
select GFXUMA
|
|
select GOOGLE_SMBIOS_MAINBOARD_VERSION
|
|
select MAINBOARD_HAS_CHROMEOS
|
|
select SERIRQ_CONTINUOUS_MODE
|
|
select STONEYRIDGE_UART
|
|
select SOC_AMD_SMU_FANLESS
|
|
select HAVE_ACPI_RESUME
|
|
select DRIVERS_GENERIC_BH720
|
|
select MAINBOARD_HAS_I2C_TPM_CR50
|
|
select MAINBOARD_HAS_TPM2
|
|
select DRIVERS_GENERIC_ADAU7002
|
|
select DRIVERS_GENERIC_MAX98357A
|
|
select DRIVERS_I2C_DA7219
|
|
select PCIEXP_ASPM
|
|
select PCIEXP_CLK_PM
|
|
select PCIEXP_COMMON_CLOCK
|
|
select PCIEXP_L1_SUB_STATE
|
|
select HAVE_EM100_SUPPORT
|
|
select SYSTEM_TYPE_LAPTOP
|
|
|
|
if BOARD_GOOGLE_BASEBOARD_KAHLEE
|
|
|
|
config MAINBOARD_DIR
|
|
string
|
|
default "google/kahlee"
|
|
|
|
config VGA_BIOS_FILE
|
|
string
|
|
default "3rdparty/blobs/mainboard/google/kahlee/aleena/VBIOS_015_049_000_018.bin" if BOARD_GOOGLE_ALEENA
|
|
default "3rdparty/blobs/mainboard/google/kahlee/liara/VBIOS_BRT39865.001.bin" if BOARD_GOOGLE_LIARA
|
|
default "3rdparty/blobs/mainboard/google/kahlee/VBIOS_015_049_000_017.bin"
|
|
|
|
config VARIANT_DIR
|
|
string
|
|
default "aleena" if BOARD_GOOGLE_ALEENA
|
|
default "careena" if BOARD_GOOGLE_CAREENA
|
|
default "grunt" if BOARD_GOOGLE_GRUNT
|
|
default "liara" if BOARD_GOOGLE_LIARA
|
|
default "nuwani" if BOARD_GOOGLE_NUWANI
|
|
default "treeya" if BOARD_GOOGLE_TREEYA
|
|
|
|
config MAINBOARD_PART_NUMBER
|
|
string
|
|
default "Grunt"
|
|
|
|
config DEVICETREE
|
|
string
|
|
default "variants/\$(CONFIG_VARIANT_DIR)/devicetree.cb"
|
|
|
|
config MAINBOARD_FAMILY
|
|
string
|
|
default "Google_Kahlee"
|
|
|
|
config FMDFILE
|
|
string
|
|
default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/variants/baseboard/chromeos.fmd" if CHROMEOS
|
|
default ""
|
|
help
|
|
The build system creates a default FMAP from ROM_SIZE and CBFS_SIZE,
|
|
but in some cases more complex setups are required.
|
|
When an fmd is specified, it overrides the default format.
|
|
|
|
config MAX_CPUS
|
|
int
|
|
default 4
|
|
|
|
config IRQ_SLOT_COUNT
|
|
int
|
|
default 11
|
|
|
|
config ONBOARD_VGA_IS_PRIMARY
|
|
bool
|
|
default y
|
|
|
|
config VBOOT
|
|
select EC_GOOGLE_CHROMEEC_SWITCHES
|
|
select VBOOT_LID_SWITCH
|
|
|
|
config VBOOT_VBNV_OFFSET
|
|
hex
|
|
default 0x2A
|
|
|
|
config CHROMEOS
|
|
select LP_DEFCONFIG_OVERRIDE if PAYLOAD_DEPTHCHARGE
|
|
|
|
config AMD_FWM_POSITION_INDEX
|
|
int
|
|
default 1
|
|
|
|
config DRIVER_TPM_I2C_BUS
|
|
hex
|
|
default 0x01
|
|
|
|
config DRIVER_TPM_I2C_ADDR
|
|
hex
|
|
default 0x50
|
|
|
|
config USE_OEM_BIN
|
|
bool "Add an oem.bin file"
|
|
help
|
|
Add an oem.bin file to identify the manufacturer in SMBIOS, overriding the
|
|
CONFIG_MAINBOARD_SMBIOS_MANUFACTURER value.
|
|
|
|
config OEM_BIN_FILE
|
|
string "OEM ID table"
|
|
depends on USE_OEM_BIN
|
|
default ""
|
|
|
|
# Don't use AMD's Secure OS
|
|
config USE_PSPSECUREOS
|
|
def_bool n
|
|
|
|
endif # BOARD_GOOGLE_BASEBOARD_KAHLEE
|