summaryrefslogtreecommitdiffstats
path: root/drivers/mci/Kconfig
blob: 911cc0cb1e68dddd02ed753874e273e353c2233c (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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
menuconfig MCI
	bool "MCI drivers"
	select DISK
	help
	  Add support for MCI drivers, used to handle MMC and SD cards

if MCI

comment "--- Feature list ---"

config MCI_STARTUP
	bool "Probe on system start"
	help
	  Say 'y' here if the MCI framework should probe for attached MCI cards
	  on system start up. This is required if the card carries barebox's
	  environment (for example on systems where the MCI card is the sole
	  bootmedia). Otherwise probing run on demand with "mci*.probe=1"

config MCI_INFO
	bool "MCI Info"
	depends on CMD_DEVINFO
	default y
	help
	  This entry adds more info about the attached MCI card, when the
	  'devinfo' command is used on the mci device.

config MCI_WRITE
	bool "Support writing to MCI cards"
	default y
	select DISK_WRITE

config MCI_MMC_BOOT_PARTITIONS
	bool "support MMC boot partitions"

comment "--- MCI host drivers ---"

config MCI_DW
	bool "Synopsys DesignWare Memory Card Interface"
	depends on HAS_DMA
	help
	  This selects support for the Synopsys DesignWare Mobile Storage IP
	  block, this provides host support for SD and MMC interfaces, in both
	  PIO and external DMA modes.

config MCI_DW_PIO
	bool "Use PIO mode on Synopsys DesignWare MCI"
	depends on MCI_DW
	help
	  Use PIO mode (instead of IDMAC) in DW MMC driver.

config MCI_MXS
	bool "i.MX23/i.MX28"
	depends on ARCH_MXS
	help
	  Enable this entry to add support to read and write SD cards on a
	  i.MX23/i.MX28 based system.

config MCI_S3C
	bool "S3C"
	depends on ARCH_S3C24xx
	help
	  Enable this entry to add support to read and write SD cards on a
	  Samsung S3C24xx based system.

config MCI_BCM283X
	bool "MCI support for BCM283X"
	depends on ARCH_BCM283X

config MCI_DOVE
	bool "Marvell Dove SDHCI"
	depends on ARCH_DOVE
	help
	  Enable this entry to add support to read and write SD cards on a
	  Marvell Dove SoC based system.

config MCI_IMX
	bool "i.MX"
	depends on ARCH_IMX27 || ARCH_IMX31
	help
	  Enable this entry to add support to read and write SD cards on a
	  Freescale i.MX based system.

config MCI_IMX_ESDHC
	bool "i.MX esdhc"
	depends on ARCH_IMX || ARCH_LAYERSCAPE
	help
	  Enable this entry to add support to read and write SD cards on a
	  Freescale i.MX25/35/51 based system.

config MCI_IMX_ESDHC_PIO
	bool "use PIO mode"
	depends on MCI_IMX_ESDHC
	help
	  mostly useful for debugging. Normally you should use DMA.

config MCI_IMX_ESDHC_PBL
	bool

config MCI_OMAP_HSMMC
	bool "OMAP HSMMC"
	depends on ARCH_OMAP4 || ARCH_OMAP3 || ARCH_AM33XX
	help
	  Enable this entry to add support to read and write SD cards on
	  both OMAP3 and OMAP4 based systems.

config MCI_PXA
	bool "PXA"
	depends on ARCH_PXA2XX
	help
	  Enable this entry to add support to read and write SD cards on a
	  XScale PXA25x / PXA27x based system.

config MCI_ATMEL
	bool "ATMEL (AT91)"
	depends on ARCH_AT91
	help
	  Enable this entry to add support to read and write SD cards on a
	  Atmel AT91.

config MCI_MMCI
	bool "ARM PL180 MMCI"
	depends on ARM_AMBA
	help
	  Enable this entry to add support to read and write SD cards on a
	  ARM AMBA PL180.

config MCI_TEGRA
	bool "Tegra SD/MMC"
	depends on ARCH_TEGRA
	help
	  Enable this to support SD and MMC card read/write on a Tegra based
	  systems.

config MCI_SPI
	bool "MMC/SD over SPI"
	select CRC7
	depends on SPI
	help
	  Some systems access MMC/SD/SDIO cards using a SPI controller
	  instead of using a "native" MMC/SD/SDIO controller. This has a
	  disadvantage of being relatively high overhead, but a compensating
	  advantage of working on many systems without dedicated MMC/SD/SDIO
	  controllers.

config MMC_SPI_CRC_ON
	bool "Enable CRC protection for transfers"
	select CRC_ITU_T
	depends on MCI_SPI
	help
	  Enable CRC protection for transfers

endif