2012-05-10 20:27:32 +02:00
|
|
|
##
|
|
|
|
## This file is part of the coreboot project.
|
|
|
|
##
|
|
|
|
## Copyright (C) 2012 The Chromium OS Authors.
|
|
|
|
##
|
|
|
|
## This program is free software; you can redistribute it and/or modify
|
|
|
|
## it under the terms of the GNU General Public License as published by
|
|
|
|
## the Free Software Foundation; version 2 of the License.
|
|
|
|
##
|
|
|
|
## This program is distributed in the hope that it will be useful,
|
|
|
|
## but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
## GNU General Public License for more details.
|
|
|
|
##
|
|
|
|
|
|
|
|
config SPI_FLASH
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Select this option if your chipset driver needs to store certain
|
|
|
|
data in the SPI flash.
|
|
|
|
|
2014-04-29 06:11:39 +02:00
|
|
|
if SPI_FLASH
|
|
|
|
|
2016-08-11 16:42:27 +02:00
|
|
|
config SPI_FLASH_INCLUDE_ALL_DRIVERS
|
|
|
|
bool
|
|
|
|
default n if COMMON_CBFS_SPI_WRAPPER
|
|
|
|
default y
|
|
|
|
|
2014-03-22 03:13:34 +01:00
|
|
|
config SPI_ATOMIC_SEQUENCING
|
|
|
|
bool
|
|
|
|
default y if ARCH_X86
|
|
|
|
default n if !ARCH_X86
|
|
|
|
help
|
|
|
|
Select this option if the SPI controller uses "atomic sequencing."
|
|
|
|
Atomic sequencing is when the sequence of commands is pre-programmed
|
|
|
|
in the SPI controller. Hardware manages the transaction instead of
|
|
|
|
software. This is common on x86 platforms.
|
|
|
|
|
2016-08-15 21:13:05 +02:00
|
|
|
config SPI_FLASH_MEMORY_MAPPED
|
|
|
|
bool
|
|
|
|
default y if ARCH_X86
|
|
|
|
default n if !ARCH_X86
|
|
|
|
help
|
|
|
|
Inform system if SPI is memory-mapped or not.
|
|
|
|
|
2012-06-24 01:53:57 +02:00
|
|
|
config SPI_FLASH_SMM
|
|
|
|
bool "SPI flash driver support in SMM"
|
|
|
|
default n
|
2014-04-29 06:11:39 +02:00
|
|
|
depends on HAVE_SMI_HANDLER
|
2012-06-24 01:53:57 +02:00
|
|
|
help
|
|
|
|
Select this option if you want SPI flash support in SMM.
|
|
|
|
|
2014-06-30 06:49:55 +02:00
|
|
|
config SPI_FLASH_NO_FAST_READ
|
|
|
|
bool "Disable Fast Read command"
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Select this option if your setup requires to avoid "fast read"s
|
|
|
|
from the SPI flash parts.
|
|
|
|
|
|
|
|
config SPI_FLASH_ADESTO
|
|
|
|
bool
|
2016-08-11 16:42:27 +02:00
|
|
|
default y if SPI_FLASH_INCLUDE_ALL_DRIVERS
|
2014-06-30 06:49:55 +02:00
|
|
|
help
|
|
|
|
Select this option if your chipset driver needs to store certain
|
|
|
|
data in the SPI flash and your SPI flash is made by Adesto Technologies.
|
|
|
|
|
2014-02-16 01:32:13 +01:00
|
|
|
config SPI_FLASH_AMIC
|
|
|
|
bool
|
2016-08-11 16:42:27 +02:00
|
|
|
default y if SPI_FLASH_INCLUDE_ALL_DRIVERS
|
2014-02-16 01:32:13 +01:00
|
|
|
help
|
|
|
|
Select this option if your chipset driver needs to store certain
|
|
|
|
data in the SPI flash and your SPI flash is made by AMIC.
|
|
|
|
|
2014-11-11 14:04:38 +01:00
|
|
|
config SPI_FLASH_ATMEL
|
|
|
|
bool
|
2016-08-11 16:42:27 +02:00
|
|
|
default y if SPI_FLASH_INCLUDE_ALL_DRIVERS
|
2014-11-11 14:04:38 +01:00
|
|
|
help
|
|
|
|
Select this option if your chipset driver needs to store certain
|
|
|
|
data in the SPI flash and your SPI flash is made by Atmel.
|
|
|
|
|
2012-05-10 20:27:32 +02:00
|
|
|
config SPI_FLASH_EON
|
|
|
|
bool
|
2016-08-11 16:42:27 +02:00
|
|
|
default y if SPI_FLASH_INCLUDE_ALL_DRIVERS
|
2012-05-10 20:27:32 +02:00
|
|
|
help
|
|
|
|
Select this option if your chipset driver needs to store certain
|
|
|
|
data in the SPI flash and your SPI flash is made by EON.
|
|
|
|
|
2014-06-30 06:49:55 +02:00
|
|
|
config SPI_FLASH_GIGADEVICE
|
|
|
|
bool
|
2016-08-11 16:42:27 +02:00
|
|
|
default y if SPI_FLASH_INCLUDE_ALL_DRIVERS
|
2014-06-30 06:49:55 +02:00
|
|
|
help
|
|
|
|
Select this option if your chipset driver needs to store certain
|
|
|
|
data in the SPI flash and your SPI flash is made by Gigadevice.
|
|
|
|
|
2012-05-10 20:27:32 +02:00
|
|
|
config SPI_FLASH_MACRONIX
|
|
|
|
bool
|
2016-08-11 16:42:27 +02:00
|
|
|
default y if SPI_FLASH_INCLUDE_ALL_DRIVERS
|
2012-05-10 20:27:32 +02:00
|
|
|
help
|
|
|
|
Select this option if your chipset driver needs to store certain
|
|
|
|
data in the SPI flash and your SPI flash is made by Macronix.
|
|
|
|
|
|
|
|
config SPI_FLASH_SPANSION
|
|
|
|
bool
|
2016-08-11 16:42:27 +02:00
|
|
|
default y if SPI_FLASH_INCLUDE_ALL_DRIVERS
|
2012-05-10 20:27:32 +02:00
|
|
|
help
|
|
|
|
Select this option if your chipset driver needs to store certain
|
|
|
|
data in the SPI flash and your SPI flash is made by Spansion.
|
|
|
|
|
|
|
|
config SPI_FLASH_SST
|
|
|
|
bool
|
2016-08-11 16:42:27 +02:00
|
|
|
default y if SPI_FLASH_INCLUDE_ALL_DRIVERS
|
2012-05-10 20:27:32 +02:00
|
|
|
help
|
|
|
|
Select this option if your chipset driver needs to store certain
|
|
|
|
data in the SPI flash and your SPI flash is made by SST.
|
|
|
|
|
|
|
|
config SPI_FLASH_STMICRO
|
|
|
|
bool
|
2016-08-11 16:42:27 +02:00
|
|
|
default y if SPI_FLASH_INCLUDE_ALL_DRIVERS
|
2012-05-10 20:27:32 +02:00
|
|
|
help
|
|
|
|
Select this option if your chipset driver needs to store certain
|
|
|
|
data in the SPI flash and your SPI flash is made by ST MICRO.
|
|
|
|
|
|
|
|
config SPI_FLASH_WINBOND
|
|
|
|
bool
|
2016-08-11 16:42:27 +02:00
|
|
|
default y if SPI_FLASH_INCLUDE_ALL_DRIVERS
|
2012-05-10 20:27:32 +02:00
|
|
|
help
|
|
|
|
Select this option if your chipset driver needs to store certain
|
|
|
|
data in the SPI flash and your SPI flash is made by Winbond.
|
|
|
|
|
2013-11-23 03:41:38 +01:00
|
|
|
config SPI_FLASH_FAST_READ_DUAL_OUTPUT_3B
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
depends on SPI_FLASH
|
|
|
|
help
|
|
|
|
Select this option if your SPI flash supports the fast read dual-
|
|
|
|
output command (opcode 0x3b) where the opcode and address are sent
|
|
|
|
to the chip on MOSI and data is received on both MOSI and MISO.
|
|
|
|
|
2014-04-29 06:11:39 +02:00
|
|
|
endif # SPI_FLASH
|
2015-09-28 23:27:24 +02:00
|
|
|
|
|
|
|
config HAVE_SPI_CONSOLE_SUPPORT
|
|
|
|
def_bool n
|