Martin L Roth has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/72769 )
Change subject: mb/google/skyrim: Disable unused SPI ROM types ......................................................................
mb/google/skyrim: Disable unused SPI ROM types
By default, coreboot includes support for all the different types of SPI ROMs. Excluding the unused ROM types shrinks ramstage by almost 4k.
BUG=b:267735039 TEST=Build & Boot ROM
Signed-off-by: Martin Roth gaumless@gmail.com Change-Id: If6e402269d1f2cac8256d478eb36743441497bdf --- M src/mainboard/google/skyrim/Kconfig 1 file changed, 26 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/69/72769/1
diff --git a/src/mainboard/google/skyrim/Kconfig b/src/mainboard/google/skyrim/Kconfig index d945474..aee408e 100644 --- a/src/mainboard/google/skyrim/Kconfig +++ b/src/mainboard/google/skyrim/Kconfig @@ -173,4 +173,14 @@ just the small SRAM buffer to a much larger area reserved in main memory.
+# Exclude support for SPI ROM types that won't be used on Skyrim platforms +config SPI_FLASH_DONT_INCLUDE_ALL_DRIVERS + default y + +config SPI_FLASH_GIGADEVICE + default y + +config SPI_FLASH_WINBOND + default y + endif # BOARD_GOOGLE_BASEBOARD_SKYRIM