Stefan Reinauer | 1c56d9b | 2012-05-10 11:27:32 -0700 | [diff] [blame] | 1 | ## |
| 2 | ## This file is part of the coreboot project. |
| 3 | ## |
| 4 | ## Copyright (C) 2012 The Chromium OS Authors. |
| 5 | ## |
| 6 | ## This program is free software; you can redistribute it and/or modify |
| 7 | ## it under the terms of the GNU General Public License as published by |
| 8 | ## the Free Software Foundation; version 2 of the License. |
| 9 | ## |
| 10 | ## This program is distributed in the hope that it will be useful, |
| 11 | ## but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 | ## GNU General Public License for more details. |
| 14 | ## |
| 15 | ## You should have received a copy of the GNU General Public License |
| 16 | ## along with this program; if not, write to the Free Software |
Paul Menzel | a46a712 | 2013-02-23 18:37:27 +0100 | [diff] [blame] | 17 | ## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
Stefan Reinauer | 1c56d9b | 2012-05-10 11:27:32 -0700 | [diff] [blame] | 18 | ## |
| 19 | |
| 20 | config SPI_FLASH |
| 21 | bool |
| 22 | default n |
| 23 | help |
| 24 | Select this option if your chipset driver needs to store certain |
| 25 | data in the SPI flash. |
| 26 | |
Kyösti Mälkki | 88e518f | 2014-04-29 07:11:39 +0300 | [diff] [blame] | 27 | if SPI_FLASH |
| 28 | |
Duncan Laurie | 181bbdd | 2012-06-23 16:53:57 -0700 | [diff] [blame] | 29 | config SPI_FLASH_SMM |
| 30 | bool "SPI flash driver support in SMM" |
| 31 | default n |
Kyösti Mälkki | 88e518f | 2014-04-29 07:11:39 +0300 | [diff] [blame] | 32 | depends on HAVE_SMI_HANDLER |
Duncan Laurie | 181bbdd | 2012-06-23 16:53:57 -0700 | [diff] [blame] | 33 | help |
| 34 | Select this option if you want SPI flash support in SMM. |
| 35 | |
Kyösti Mälkki | ab60510 | 2014-06-30 07:49:55 +0300 | [diff] [blame] | 36 | config SPI_FLASH_NO_FAST_READ |
| 37 | bool "Disable Fast Read command" |
| 38 | default n |
| 39 | help |
| 40 | Select this option if your setup requires to avoid "fast read"s |
| 41 | from the SPI flash parts. |
| 42 | |
| 43 | config SPI_FLASH_ADESTO |
| 44 | bool |
| 45 | default y |
| 46 | help |
| 47 | Select this option if your chipset driver needs to store certain |
| 48 | data in the SPI flash and your SPI flash is made by Adesto Technologies. |
| 49 | |
Idwer Vollering | 73a1018 | 2014-02-16 00:32:13 +0000 | [diff] [blame] | 50 | config SPI_FLASH_AMIC |
| 51 | bool |
| 52 | default y |
Idwer Vollering | 73a1018 | 2014-02-16 00:32:13 +0000 | [diff] [blame] | 53 | help |
| 54 | Select this option if your chipset driver needs to store certain |
| 55 | data in the SPI flash and your SPI flash is made by AMIC. |
| 56 | |
Stefan Reinauer | 1c56d9b | 2012-05-10 11:27:32 -0700 | [diff] [blame] | 57 | config SPI_FLASH_EON |
| 58 | bool |
| 59 | default y |
Stefan Reinauer | 1c56d9b | 2012-05-10 11:27:32 -0700 | [diff] [blame] | 60 | help |
| 61 | Select this option if your chipset driver needs to store certain |
| 62 | data in the SPI flash and your SPI flash is made by EON. |
| 63 | |
Kyösti Mälkki | ab60510 | 2014-06-30 07:49:55 +0300 | [diff] [blame] | 64 | config SPI_FLASH_GIGADEVICE |
| 65 | bool |
| 66 | default y |
| 67 | help |
| 68 | Select this option if your chipset driver needs to store certain |
| 69 | data in the SPI flash and your SPI flash is made by Gigadevice. |
| 70 | |
Stefan Reinauer | 1c56d9b | 2012-05-10 11:27:32 -0700 | [diff] [blame] | 71 | config SPI_FLASH_MACRONIX |
| 72 | bool |
| 73 | default y |
Stefan Reinauer | 1c56d9b | 2012-05-10 11:27:32 -0700 | [diff] [blame] | 74 | help |
| 75 | Select this option if your chipset driver needs to store certain |
| 76 | data in the SPI flash and your SPI flash is made by Macronix. |
| 77 | |
| 78 | config SPI_FLASH_SPANSION |
| 79 | bool |
| 80 | default y |
Stefan Reinauer | 1c56d9b | 2012-05-10 11:27:32 -0700 | [diff] [blame] | 81 | help |
| 82 | Select this option if your chipset driver needs to store certain |
| 83 | data in the SPI flash and your SPI flash is made by Spansion. |
| 84 | |
| 85 | config SPI_FLASH_SST |
| 86 | bool |
| 87 | default y |
Stefan Reinauer | 1c56d9b | 2012-05-10 11:27:32 -0700 | [diff] [blame] | 88 | help |
| 89 | Select this option if your chipset driver needs to store certain |
| 90 | data in the SPI flash and your SPI flash is made by SST. |
| 91 | |
| 92 | config SPI_FLASH_STMICRO |
| 93 | bool |
| 94 | default y |
Stefan Reinauer | 1c56d9b | 2012-05-10 11:27:32 -0700 | [diff] [blame] | 95 | help |
| 96 | Select this option if your chipset driver needs to store certain |
| 97 | data in the SPI flash and your SPI flash is made by ST MICRO. |
| 98 | |
| 99 | config SPI_FLASH_WINBOND |
| 100 | bool |
| 101 | default y |
Stefan Reinauer | 1c56d9b | 2012-05-10 11:27:32 -0700 | [diff] [blame] | 102 | help |
| 103 | Select this option if your chipset driver needs to store certain |
| 104 | data in the SPI flash and your SPI flash is made by Winbond. |
| 105 | |
David Hendricks | 1101a71 | 2013-11-22 18:41:38 -0800 | [diff] [blame^] | 106 | config SPI_FLASH_FAST_READ_DUAL_OUTPUT_3B |
| 107 | bool |
| 108 | default n |
| 109 | depends on SPI_FLASH |
| 110 | help |
| 111 | Select this option if your SPI flash supports the fast read dual- |
| 112 | output command (opcode 0x3b) where the opcode and address are sent |
| 113 | to the chip on MOSI and data is received on both MOSI and MISO. |
| 114 | |
Kyösti Mälkki | 88e518f | 2014-04-29 07:11:39 +0300 | [diff] [blame] | 115 | endif # SPI_FLASH |