summaryrefslogtreecommitdiffstats
path: root/drivers/nor/Kconfig
blob: 8652d277b64f59ae0a747a23561a1ff1e3a7131e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
menu "flash drivers                 "

menuconfig DRIVER_CFI
	bool "CFI            "
	help
	  If you have NOR Flash devices connected to your system and wish
	  to use them say yes here.

if DRIVER_CFI

config DRIVER_CFI_INTEL
	default y
	depends on DRIVER_CFI
	bool "Support Intel flash chips"

config DRIVER_CFI_AMD
	default y
	depends on DRIVER_CFI
	bool "support AMD flash chips"

config DRIVER_CFI_BANK_WIDTH_1
	bool "Support  8-bit buswidth"
	depends on DRIVER_CFI
	default y
	help
	  If you wish to support CFI devices on a physical bus which is
	  8 bits wide, say 'Y'.

config DRIVER_CFI_BANK_WIDTH_2
	bool "Support 16-bit buswidth"
	depends on DRIVER_CFI
	default y
	help
	  If you wish to support CFI devices on a physical bus which is
	  16 bits wide, say 'Y'.

config DRIVER_CFI_BANK_WIDTH_4
	bool "Support 32-bit buswidth"
	depends on DRIVER_CFI
	default y
	help
	  If you wish to support CFI devices on a physical bus which is
	  32 bits wide, say 'Y'.

config DRIVER_CFI_BANK_WIDTH_8
	bool "Support 64-bit buswidth"
	depends on DRIVER_CFI
	default n
	help
	  If you wish to support CFI devices on a physical bus which is
	  64 bits wide, say 'Y'.

config CFI_BUFFER_WRITE
	bool "use cfi driver with buffer write"
	depends on DRIVER_CFI || DRIVER_CFI

endif

config MTD_M25P80
	tristate "SPI Flash chips (AT26DF, M25P, W25X, ...)"
	depends on SPI
	help
	  This enables access to most modern SPI flash chips, used for
	  program and data storage.   Series supported include Atmel AT26DF,
	  Spansion S25SL, SST 25VF, ST M25P, and Winbond W25X.  Other chips
	  are supported as well.  See the driver source for the current list,
	  or to add other chips.

	  Note that the original DataFlash chips (AT45 series, not AT26DF),
	  need an entirely different driver.

	  Set up your spi devices with the right board-specific platform data,
	  if you want to specify device partitioning or to use a device which
	  doesn't support the JEDEC ID instruction.

config MTD_SST25L
	tristate "Support SST25L (non JEDEC) SPI Flash chips"
	depends on MTD_M25P80
	help
	  This enables access to the non JEDEC SST25L SPI flash chips, used
	  for program and data storage.

	  Set up your spi devices with the right board-specific platform data,
	  if you want to specify device partitioning.

endmenu