diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-06-01 19:55:42 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-06-01 19:55:42 -0400 |
commit | f5e7e844a571124ffc117d4696787d6afc4fc5ae (patch) | |
tree | 26bb17dc94e9536da540c187b00cedb0c1b24664 /arch/mips | |
parent | 48445159e9ecb44a96a4de06c6ae7c54eb43ba5b (diff) | |
parent | 4a43faf54e9173b6acce37cf7f053fc9515a2cdf (diff) |
Merge tag 'for-linus-3.5-20120601' of git://git.infradead.org/linux-mtd
Pull mtd update from David Woodhouse:
- More robust parsing especially of xattr data in JFFS2
- Updates to mxc_nand and gpmi drivers to support new boards and device tree
- Improve consistency of information about ECC strength in NAND devices
- Clean up partition handling of plat_nand
- Support NAND drivers without dedicated access to OOB area
- BCH hardware ECC support for OMAP
- Other fixes and cleanups, and a few new device IDs
Fixed trivial conflict in drivers/mtd/nand/gpmi-nand/gpmi-nand.c due to
added include files next to each other.
* tag 'for-linus-3.5-20120601' of git://git.infradead.org/linux-mtd: (75 commits)
mtd: mxc_nand: move ecc strengh setup before nand_scan_tail
mtd: block2mtd: fix recursive call of mtd_writev
mtd: gpmi-nand: define ecc.strength
mtd: of_parts: fix breakage in Kconfig
mtd: nand: fix scan_read_raw_oob
mtd: docg3 fix in-middle of blocks reads
mtd: cfi_cmdset_0002: Slight cleanup of fixup messages
mtd: add fixup for S29NS512P NOR flash.
jffs2: allow to complete xattr integrity check on first GC scan
jffs2: allow to discriminate between recoverable and non-recoverable errors
mtd: nand: omap: add support for hardware BCH ecc
ARM: OMAP3: gpmc: add BCH ecc api and modes
mtd: nand: check the return code of 'read_oob/read_oob_raw'
mtd: nand: remove 'sndcmd' parameter of 'read_oob/read_oob_raw'
mtd: m25p80: Add support for Winbond W25Q80BW
jffs2: get rid of jffs2_sync_super
jffs2: remove unnecessary GC pass on sync
jffs2: remove unnecessary GC pass on umount
jffs2: remove lock_super
mtd: gpmi: add gpmi support for mx6q
...
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/alchemy/devboards/db1200.c | 3 | ||||
-rw-r--r-- | arch/mips/alchemy/devboards/db1300.c | 3 | ||||
-rw-r--r-- | arch/mips/alchemy/devboards/db1550.c | 3 | ||||
-rw-r--r-- | arch/mips/pnx833x/common/platform.c | 6 | ||||
-rw-r--r-- | arch/mips/rb532/devices.c | 1 |
5 files changed, 0 insertions, 16 deletions
diff --git a/arch/mips/alchemy/devboards/db1200.c b/arch/mips/alchemy/devboards/db1200.c index 7dde01642d6b..bf2248474fa8 100644 --- a/arch/mips/alchemy/devboards/db1200.c +++ b/arch/mips/alchemy/devboards/db1200.c | |||
@@ -213,8 +213,6 @@ static int au1200_nand_device_ready(struct mtd_info *mtd) | |||
213 | return __raw_readl((void __iomem *)MEM_STSTAT) & 1; | 213 | return __raw_readl((void __iomem *)MEM_STSTAT) & 1; |
214 | } | 214 | } |
215 | 215 | ||
216 | static const char *db1200_part_probes[] = { "cmdlinepart", NULL }; | ||
217 | |||
218 | static struct mtd_partition db1200_nand_parts[] = { | 216 | static struct mtd_partition db1200_nand_parts[] = { |
219 | { | 217 | { |
220 | .name = "NAND FS 0", | 218 | .name = "NAND FS 0", |
@@ -235,7 +233,6 @@ struct platform_nand_data db1200_nand_platdata = { | |||
235 | .nr_partitions = ARRAY_SIZE(db1200_nand_parts), | 233 | .nr_partitions = ARRAY_SIZE(db1200_nand_parts), |
236 | .partitions = db1200_nand_parts, | 234 | .partitions = db1200_nand_parts, |
237 | .chip_delay = 20, | 235 | .chip_delay = 20, |
238 | .part_probe_types = db1200_part_probes, | ||
239 | }, | 236 | }, |
240 | .ctrl = { | 237 | .ctrl = { |
241 | .dev_ready = au1200_nand_device_ready, | 238 | .dev_ready = au1200_nand_device_ready, |
diff --git a/arch/mips/alchemy/devboards/db1300.c b/arch/mips/alchemy/devboards/db1300.c index 0893f2af0d01..c56e0246694e 100644 --- a/arch/mips/alchemy/devboards/db1300.c +++ b/arch/mips/alchemy/devboards/db1300.c | |||
@@ -145,8 +145,6 @@ static int au1300_nand_device_ready(struct mtd_info *mtd) | |||
145 | return __raw_readl((void __iomem *)MEM_STSTAT) & 1; | 145 | return __raw_readl((void __iomem *)MEM_STSTAT) & 1; |
146 | } | 146 | } |
147 | 147 | ||
148 | static const char *db1300_part_probes[] = { "cmdlinepart", NULL }; | ||
149 | |||
150 | static struct mtd_partition db1300_nand_parts[] = { | 148 | static struct mtd_partition db1300_nand_parts[] = { |
151 | { | 149 | { |
152 | .name = "NAND FS 0", | 150 | .name = "NAND FS 0", |
@@ -167,7 +165,6 @@ struct platform_nand_data db1300_nand_platdata = { | |||
167 | .nr_partitions = ARRAY_SIZE(db1300_nand_parts), | 165 | .nr_partitions = ARRAY_SIZE(db1300_nand_parts), |
168 | .partitions = db1300_nand_parts, | 166 | .partitions = db1300_nand_parts, |
169 | .chip_delay = 20, | 167 | .chip_delay = 20, |
170 | .part_probe_types = db1300_part_probes, | ||
171 | }, | 168 | }, |
172 | .ctrl = { | 169 | .ctrl = { |
173 | .dev_ready = au1300_nand_device_ready, | 170 | .dev_ready = au1300_nand_device_ready, |
diff --git a/arch/mips/alchemy/devboards/db1550.c b/arch/mips/alchemy/devboards/db1550.c index 6815d0783cd8..9eb79062f46e 100644 --- a/arch/mips/alchemy/devboards/db1550.c +++ b/arch/mips/alchemy/devboards/db1550.c | |||
@@ -149,8 +149,6 @@ static int au1550_nand_device_ready(struct mtd_info *mtd) | |||
149 | return __raw_readl((void __iomem *)MEM_STSTAT) & 1; | 149 | return __raw_readl((void __iomem *)MEM_STSTAT) & 1; |
150 | } | 150 | } |
151 | 151 | ||
152 | static const char *db1550_part_probes[] = { "cmdlinepart", NULL }; | ||
153 | |||
154 | static struct mtd_partition db1550_nand_parts[] = { | 152 | static struct mtd_partition db1550_nand_parts[] = { |
155 | { | 153 | { |
156 | .name = "NAND FS 0", | 154 | .name = "NAND FS 0", |
@@ -171,7 +169,6 @@ struct platform_nand_data db1550_nand_platdata = { | |||
171 | .nr_partitions = ARRAY_SIZE(db1550_nand_parts), | 169 | .nr_partitions = ARRAY_SIZE(db1550_nand_parts), |
172 | .partitions = db1550_nand_parts, | 170 | .partitions = db1550_nand_parts, |
173 | .chip_delay = 20, | 171 | .chip_delay = 20, |
174 | .part_probe_types = db1550_part_probes, | ||
175 | }, | 172 | }, |
176 | .ctrl = { | 173 | .ctrl = { |
177 | .dev_ready = au1550_nand_device_ready, | 174 | .dev_ready = au1550_nand_device_ready, |
diff --git a/arch/mips/pnx833x/common/platform.c b/arch/mips/pnx833x/common/platform.c index 87167dcc79fa..05a1d922cd60 100644 --- a/arch/mips/pnx833x/common/platform.c +++ b/arch/mips/pnx833x/common/platform.c | |||
@@ -244,11 +244,6 @@ static struct platform_device pnx833x_sata_device = { | |||
244 | .resource = pnx833x_sata_resources, | 244 | .resource = pnx833x_sata_resources, |
245 | }; | 245 | }; |
246 | 246 | ||
247 | static const char *part_probes[] = { | ||
248 | "cmdlinepart", | ||
249 | NULL | ||
250 | }; | ||
251 | |||
252 | static void | 247 | static void |
253 | pnx833x_flash_nand_cmd_ctrl(struct mtd_info *mtd, int cmd, unsigned int ctrl) | 248 | pnx833x_flash_nand_cmd_ctrl(struct mtd_info *mtd, int cmd, unsigned int ctrl) |
254 | { | 249 | { |
@@ -268,7 +263,6 @@ static struct platform_nand_data pnx833x_flash_nand_data = { | |||
268 | .chip = { | 263 | .chip = { |
269 | .nr_chips = 1, | 264 | .nr_chips = 1, |
270 | .chip_delay = 25, | 265 | .chip_delay = 25, |
271 | .part_probe_types = part_probes, | ||
272 | }, | 266 | }, |
273 | .ctrl = { | 267 | .ctrl = { |
274 | .cmd_ctrl = pnx833x_flash_nand_cmd_ctrl | 268 | .cmd_ctrl = pnx833x_flash_nand_cmd_ctrl |
diff --git a/arch/mips/rb532/devices.c b/arch/mips/rb532/devices.c index ea774285e6c5..716e9a12f0e7 100644 --- a/arch/mips/rb532/devices.c +++ b/arch/mips/rb532/devices.c | |||
@@ -293,7 +293,6 @@ static void __init rb532_nand_setup(void) | |||
293 | rb532_nand_data.chip.nr_partitions = ARRAY_SIZE(rb532_partition_info); | 293 | rb532_nand_data.chip.nr_partitions = ARRAY_SIZE(rb532_partition_info); |
294 | rb532_nand_data.chip.partitions = rb532_partition_info; | 294 | rb532_nand_data.chip.partitions = rb532_partition_info; |
295 | rb532_nand_data.chip.chip_delay = NAND_CHIP_DELAY; | 295 | rb532_nand_data.chip.chip_delay = NAND_CHIP_DELAY; |
296 | rb532_nand_data.chip.options = NAND_NO_AUTOINCR; | ||
297 | } | 296 | } |
298 | 297 | ||
299 | 298 | ||