blob: d832e0c233941a613c17096df1ef0db43089936c [file] [log] [blame]
Stefan Reinauer1c56d9b2012-05-10 11:27:32 -07001##
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 Menzela46a7122013-02-23 18:37:27 +010017## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Stefan Reinauer1c56d9b2012-05-10 11:27:32 -070018##
19
20config 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älkki88e518f2014-04-29 07:11:39 +030027if SPI_FLASH
28
Duncan Laurie181bbdd2012-06-23 16:53:57 -070029config SPI_FLASH_SMM
30 bool "SPI flash driver support in SMM"
31 default n
Kyösti Mälkki88e518f2014-04-29 07:11:39 +030032 depends on HAVE_SMI_HANDLER
Duncan Laurie181bbdd2012-06-23 16:53:57 -070033 help
34 Select this option if you want SPI flash support in SMM.
35
Kyösti Mälkkiab605102014-06-30 07:49:55 +030036config 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
43config 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 Vollering73a10182014-02-16 00:32:13 +000050config SPI_FLASH_AMIC
51 bool
52 default y
Idwer Vollering73a10182014-02-16 00:32:13 +000053 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 Reinauer1c56d9b2012-05-10 11:27:32 -070057config SPI_FLASH_EON
58 bool
59 default y
Stefan Reinauer1c56d9b2012-05-10 11:27:32 -070060 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älkkiab605102014-06-30 07:49:55 +030064config 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 Reinauer1c56d9b2012-05-10 11:27:32 -070071config SPI_FLASH_MACRONIX
72 bool
73 default y
Stefan Reinauer1c56d9b2012-05-10 11:27:32 -070074 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
78config SPI_FLASH_SPANSION
79 bool
80 default y
Stefan Reinauer1c56d9b2012-05-10 11:27:32 -070081 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
85config SPI_FLASH_SST
86 bool
87 default y
Stefan Reinauer1c56d9b2012-05-10 11:27:32 -070088 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
92config SPI_FLASH_STMICRO
93 bool
94 default y
Stefan Reinauer1c56d9b2012-05-10 11:27:32 -070095 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
99config SPI_FLASH_WINBOND
100 bool
101 default y
Stefan Reinauer1c56d9b2012-05-10 11:27:32 -0700102 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 Hendricks1101a712013-11-22 18:41:38 -0800106config 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älkki88e518f2014-04-29 07:11:39 +0300115endif # SPI_FLASH