diff options
author | Mike Banon <mikebdp2@gmail.com> | 2019-06-29 16:18:41 +0300 |
---|---|---|
committer | Nico Huber <nico.h@gmx.de> | 2019-07-07 10:30:19 +0000 |
commit | 87fe4181727f97fa95b9f853981e06c156ee48b8 (patch) | |
tree | 0fa1be45a9c2d9ccca5999089da02f5d89d95b88 /src/mainboard/lenovo | |
parent | 142b10ee1fa1c68f0c147665ff55b43eb8f0317d (diff) |
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 <mikebdp2@gmail.com>
Change-Id: Ib0183b7786ecd77bb0df923bc84908275f2fe14c
Reviewed-on: https://review.coreboot.org/c/coreboot/+/33870
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/lenovo')
-rw-r--r-- | src/mainboard/lenovo/g505s/Kconfig | 4 | ||||
-rw-r--r-- | src/mainboard/lenovo/g505s/config_seabios | 7 |
2 files changed, 11 insertions, 0 deletions
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 +# |