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>
This commit is contained in:
Mike Banon 2019-06-29 16:18:41 +03:00 committed by Nico Huber
parent 142b10ee1f
commit 87fe418172
2 changed files with 11 additions and 0 deletions

View File

@ -55,4 +55,8 @@ config VGA_BIOS_ID
string string
default "1002,990b" default "1002,990b"
config PAYLOAD_CONFIGFILE
string
default "$(top)/src/mainboard/$(MAINBOARDDIR)/config_seabios" if PAYLOAD_SEABIOS
endif # BOARD_LENOVO_G505S endif # BOARD_LENOVO_G505S

View File

@ -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
#