diff options
author | Aaron Durbin <adurbin@chromium.org> | 2016-08-11 11:02:26 -0500 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2016-08-18 06:18:21 +0200 |
commit | 4a36c4e9fc66bf442f46e1e6d742b2d6c50a2ae1 (patch) | |
tree | 0370c6f41f8eb72c35fbfa915f0226bb312f5d13 /src/Kconfig | |
parent | 2d97cb1be50acdf7e7604dd666d52cb9765de018 (diff) |
Kconfig: lay groundwork for not assuming SPI flash boot device
Almost all boards and chipsets within the codebase assume or
use SPI flash as the boot device. Therefore, provide an option
for the boards/chipsets which don't currently support SPI flash
as the boot device. The default is to assume SPI flash is the
boot device unless otherwise instructed. This falls in line
with the current assumptions, but it also allows one to
differentiate a platform desiring SPI flash support while it not
being the actual boot device.
One thing to note is that while google/daisy does boot with SPI
flash part no SPI API interfaces were ever implemented. Therefore,
mark that board as not having a SPI boot device.
BUG=chrome-os-partner:56151
Change-Id: Id4e0b4ec5e440e41421fbb6d0ca2be4185b62a6e
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://review.coreboot.org/16191
Tested-by: build bot (Jenkins)
Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/Kconfig')
-rw-r--r-- | src/Kconfig | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/Kconfig b/src/Kconfig index 3af27691e6..04b8d247df 100644 --- a/src/Kconfig +++ b/src/Kconfig @@ -471,6 +471,18 @@ endmenu source "src/acpi/Kconfig" +# This option is for the current boards/chipsets where SPI flash +# is not the boot device. Currently nearly all boards/chipsets assume +# SPI flash is the boot device. +config BOOT_DEVICE_NOT_SPI_FLASH + bool + default n + +config BOOT_DEVICE_SPI_FLASH + bool + default y if !BOOT_DEVICE_NOT_SPI_FLASH + default n + config RTC bool default n |