If the VGA BIOS file path for `VGA_BIOS_FILE` in a mainboard's Kconfig does not exist in the coreboot tree (including submodules), drop it. These files should be stored in the `site-local` subdirectory and the paths specified for each board in `site-local/Kconfig`. For example: config VGA_BIOS_FILE default "site-local/x200_vbios.bin" if BOARD_LENOVO_X200 Note that this is just an example. There are better ways to structure one's `site-local` subfolder. Using the `CONFIG_MAINBOARD_DIR` option would be one of them, though variants may still need special handling. Also, update autoport to not generate `VGA_BIOS_FILE` defaults. Change-Id: I1b5dfba035a42d7943f270f95fb7d32b285584d2 Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/51340 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de> Reviewed-by: Michael Niewöhner <foss@mniewoehner.de> Reviewed-by: Felix Singer <felixsinger@posteo.net>
84 lines
1.7 KiB
Plaintext
84 lines
1.7 KiB
Plaintext
config BOARD_LENOVO_BASEBOARD_T520
|
|
def_bool n
|
|
select SYSTEM_TYPE_LAPTOP
|
|
select NORTHBRIDGE_INTEL_SANDYBRIDGE
|
|
select USE_NATIVE_RAMINIT
|
|
select SOUTHBRIDGE_INTEL_BD82X6X
|
|
select EC_LENOVO_PMH7
|
|
select EC_LENOVO_H8
|
|
select H8_HAS_BAT_TRESHOLDS_IMPL
|
|
select NO_UART_ON_SUPERIO
|
|
select BOARD_ROMSIZE_KB_8192
|
|
select HAVE_ACPI_TABLES
|
|
select HAVE_OPTION_TABLE
|
|
select HAVE_CMOS_DEFAULT
|
|
select HAVE_ACPI_RESUME
|
|
select INTEL_INT15
|
|
select GFX_GMA_PANEL_1_ON_LVDS
|
|
select MAINBOARD_HAS_LIBGFXINIT
|
|
select MAINBOARD_HAS_LPC_TPM
|
|
select MAINBOARD_HAS_TPM1
|
|
select DRIVERS_LENOVO_HYBRID_GRAPHICS
|
|
select INTEL_GMA_HAVE_VBT if BOARD_LENOVO_T520
|
|
select MAINBOARD_USES_IFD_GBE_REGION
|
|
|
|
# Workaround for EC/KBC IRQ1.
|
|
select SERIRQ_CONTINUOUS_MODE
|
|
|
|
if BOARD_LENOVO_BASEBOARD_T520
|
|
|
|
config VBOOT
|
|
select VBOOT_VBNV_CMOS
|
|
select GBB_FLAG_DISABLE_LID_SHUTDOWN
|
|
select GBB_FLAG_DISABLE_PD_SOFTWARE_SYNC
|
|
select GBB_FLAG_DISABLE_EC_SOFTWARE_SYNC
|
|
select GBB_FLAG_DISABLE_FWMP
|
|
select HAS_RECOVERY_MRC_CACHE
|
|
|
|
config VBOOT_SLOTS_RW_A
|
|
default y
|
|
|
|
config VBOOT_VBNV_OFFSET
|
|
hex
|
|
default 0x2a
|
|
|
|
config VARIANT_DIR
|
|
default "t520" if BOARD_LENOVO_T520
|
|
default "w520" if BOARD_LENOVO_W520
|
|
|
|
config MAINBOARD_DIR
|
|
default "lenovo/t520"
|
|
|
|
config OVERRIDE_DEVICETREE
|
|
default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb"
|
|
|
|
config FMDFILE
|
|
default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/vboot-rwa.fmd" if VBOOT
|
|
|
|
config MAINBOARD_PART_NUMBER
|
|
default "ThinkPad T520" if BOARD_LENOVO_T520
|
|
default "ThinkPad W520" if BOARD_LENOVO_W520
|
|
|
|
config USBDEBUG_HCD_INDEX
|
|
int
|
|
default 2
|
|
|
|
config DRAM_RESET_GATE_GPIO
|
|
int
|
|
default 10
|
|
|
|
config VGA_BIOS_ID
|
|
string
|
|
default "8086,0126"
|
|
|
|
config PS2K_EISAID
|
|
default "PNP0303"
|
|
|
|
config PS2M_EISAID
|
|
default "LEN0015"
|
|
|
|
config THINKPADEC_HKEY_EISAID
|
|
default "LEN0068"
|
|
|
|
endif
|