2023-07-04 20:53:52 +00:00
|
|
|
# Configuration for a ThinkPad W541.
|
|
|
|
CONFIG_COREBOOT_CONFIG=config/coreboot-w541.config
|
|
|
|
# TODO: Make a ThinkPad-common Linux config file.
|
|
|
|
CONFIG_LINUX_CONFIG=config/linux-w541.config
|
|
|
|
|
|
|
|
export CONFIG_COREBOOT=y
|
2024-07-10 16:17:41 +00:00
|
|
|
export CONFIG_COREBOOT_VERSION=24.02.01
|
2024-10-02 11:26:46 +00:00
|
|
|
export CONFIG_LINUX_VERSION=6.1.8
|
2023-07-04 20:53:52 +00:00
|
|
|
|
|
|
|
CONFIG_CRYPTSETUP2=y
|
2024-09-01 19:02:42 +00:00
|
|
|
CONFIG_FLASHPROG=y
|
2023-07-04 20:53:52 +00:00
|
|
|
CONFIG_FLASHTOOLS=y
|
|
|
|
CONFIG_GPG2=y
|
|
|
|
CONFIG_KEXEC=y
|
|
|
|
CONFIG_UTIL_LINUX=y
|
|
|
|
CONFIG_LVM2=y
|
|
|
|
CONFIG_MBEDTLS=y
|
|
|
|
CONFIG_PCIUTILS=y
|
|
|
|
CONFIG_POPT=y
|
|
|
|
CONFIG_QRENCODE=y
|
|
|
|
CONFIG_TPMTOTP=y
|
|
|
|
|
|
|
|
#platform locking finalization (PR0)
|
|
|
|
CONFIG_IO386=y
|
|
|
|
export CONFIG_FINALIZE_PLATFORM_LOCKING_PRESKYLAKE=y
|
|
|
|
|
|
|
|
|
|
|
|
# Dependencies for a graphical menu. Enable CONFIG_SLANG and CONFIG_NEWT instead
|
|
|
|
# for a console-based menu.
|
|
|
|
CONFIG_CAIRO=y
|
|
|
|
CONFIG_FBWHIPTAIL=y
|
|
|
|
|
|
|
|
CONFIG_LINUX_USB=y
|
2023-11-25 19:50:32 +00:00
|
|
|
CONFIG_MOBILE_TETHERING=y
|
2023-07-04 20:53:52 +00:00
|
|
|
|
|
|
|
export CONFIG_TPM=y
|
|
|
|
export CONFIG_BOOTSCRIPT=/bin/gui-init
|
|
|
|
export CONFIG_BOOT_REQ_HASH=n
|
|
|
|
export CONFIG_BOOT_REQ_ROLLBACK=n
|
|
|
|
export CONFIG_BOARD_NAME="ThinkPad W541-maximized"
|
2024-09-09 14:58:39 +00:00
|
|
|
export CONFIG_FLASH_OPTIONS="flashprog --progress --programmer internal"
|
2023-07-04 20:53:52 +00:00
|
|
|
|
|
|
|
# Make the Coreboot build depend on the following 3rd party blobs:
|
|
|
|
$(build)/coreboot-$(CONFIG_COREBOOT_VERSION)/$(BOARD)/.build: \
|
|
|
|
$(pwd)/blobs/haswell/mrc.bin $(pwd)/blobs/w541/me.bin
|
|
|
|
|
|
|
|
$(pwd)/blobs/haswell/mrc.bin:
|
|
|
|
COREBOOT_DIR="$(build)/$(coreboot_base_dir)" \
|
|
|
|
$(pwd)/blobs/haswell/obtain-mrc $(pwd)/blobs/haswell
|
|
|
|
|
|
|
|
$(pwd)/blobs/w541/me.bin:
|
|
|
|
COREBOOT_DIR="$(build)/$(coreboot_base_dir)" \
|
|
|
|
$(pwd)/blobs/w541/download-clean-me $(pwd)/blobs/w541
|
|
|
|
|
2023-12-18 21:44:00 +00:00
|
|
|
# Generate split 4MB top / 8MB bottom ROMs
|
2024-01-04 18:48:52 +00:00
|
|
|
BOARD_TARGETS += split_8mb4mb
|