coreboot-kgpe-d16/src/mainboard/up/squared/Kconfig
Patrick Georgi b8fba86b14 Kconfig: Escape variable to accommodate new Kconfig versions
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>
2020-06-19 15:29:04 +00:00

91 lines
1.7 KiB
Text

if BOARD_UP_SQUARED
config BOARD_SPECIFIC_OPTIONS
def_bool y
select HAVE_ACPI_TABLES
select HAVE_ACPI_RESUME
select INTEL_GMA_HAVE_VBT
select INTEL_LPSS_UART_FOR_CONSOLE
select SOC_INTEL_APOLLOLAKE
select BOARD_ROMSIZE_KB_16384
select ONBOARD_VGA_IS_PRIMARY
select MAINBOARD_HAS_LIBGFXINIT
select MAINBOARD_HAS_CRB_TPM
select HAVE_INTEL_PTT
config VBOOT
select VBOOT_NO_BOARD_SUPPORT
select GBB_FLAG_DISABLE_LID_SHUTDOWN
select GBB_FLAG_DISABLE_EC_SOFTWARE_SYNC
select GBB_FLAG_DISABLE_PD_SOFTWARE_SYNC
select GBB_FLAG_DISABLE_FWMP
config GBB_HWID
string
depends on VBOOT
default "UPSQUARED"
config MAINBOARD_DIR
string
default "up/squared"
config MAINBOARD_VENDOR
string
default "Up"
config MAINBOARD_PART_NUMBER
string
default "Squared"
config FMDFILE
string
default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/upsquared.fmd" if !VBOOT
default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/vboot-ro.fmd" if !VBOOT_SLOTS_RW_A
default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/vboot-roa.fmd" if VBOOT_SLOTS_RW_A && !VBOOT_SLOTS_RW_AB
default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/vboot-roab.fmd" if VBOOT_SLOTS_RW_AB
config SUBSYSTEM_VENDOR_ID
hex
default 0x8086
config SUBSYSTEM_DEVICE_ID
hex
default 0x7270
config VGA_BIOS_ID
string
default "8086,5a85"
config PXE_ROM_ID
string
default "10ec,8168"
config MAX_CPUS
int
default 2
config LINUX_COMMAND_LINE
string
default "console=ttyS4,115200 earlyprintk=ttyS4,115200,keep" if PAYLOAD_LINUXBOOT && UART_FOR_CONSOLE=0
config UART_FOR_CONSOLE
int
default 0
config IFWI_FMAP_NAME
string
default "IFWI"
config POST_IO
bool
default n
config POST_DEVICE
bool
default n
config CONSOLE_POST
bool
default y
endif