From 87fe4181727f97fa95b9f853981e06c156ee48b8 Mon Sep 17 00:00:00 2001 From: Mike Banon Date: Sat, 29 Jun 2019 16:18:41 +0300 Subject: mb/lenovo/g505s: Disable SeaBIOS options unsupported by hardware G505S doesn't have any SAS or NVMe controllers and couldn't have a TPM, so it makes sense to disable the related SeaBIOS options for this board. This reduces the size of compiled SeaBIOS by 129344-110048=19296 bytes. Signed-off-by: Mike Banon Change-Id: Ib0183b7786ecd77bb0df923bc84908275f2fe14c Reviewed-on: https://review.coreboot.org/c/coreboot/+/33870 Reviewed-by: Angel Pons Reviewed-by: Nico Huber Tested-by: build bot (Jenkins) --- src/mainboard/lenovo/g505s/Kconfig | 4 ++++ src/mainboard/lenovo/g505s/config_seabios | 7 +++++++ 2 files changed, 11 insertions(+) create mode 100644 src/mainboard/lenovo/g505s/config_seabios (limited to 'src/mainboard/lenovo/g505s') diff --git a/src/mainboard/lenovo/g505s/Kconfig b/src/mainboard/lenovo/g505s/Kconfig index 883ef27286..b80019ecf4 100644 --- a/src/mainboard/lenovo/g505s/Kconfig +++ b/src/mainboard/lenovo/g505s/Kconfig @@ -55,4 +55,8 @@ config VGA_BIOS_ID string default "1002,990b" +config PAYLOAD_CONFIGFILE + string + default "$(top)/src/mainboard/$(MAINBOARDDIR)/config_seabios" if PAYLOAD_SEABIOS + endif # BOARD_LENOVO_G505S diff --git a/src/mainboard/lenovo/g505s/config_seabios b/src/mainboard/lenovo/g505s/config_seabios new file mode 100644 index 0000000000..1959fa35c2 --- /dev/null +++ b/src/mainboard/lenovo/g505s/config_seabios @@ -0,0 +1,7 @@ +### +### SeaBIOS custom configuration for Lenovo G505S +### +# CONFIG_MEGASAS is not set +# CONFIG_NVME is not set +# CONFIG_TCGBIOS is not set +# -- cgit v1.2.3