diff options
Diffstat (limited to 'arch/arm/mach-u300/core.c')
-rw-r--r-- | arch/arm/mach-u300/core.c | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/arch/arm/mach-u300/core.c b/arch/arm/mach-u300/core.c index 12f3994c43db..8b204ae69002 100644 --- a/arch/arm/mach-u300/core.c +++ b/arch/arm/mach-u300/core.c | |||
@@ -250,6 +250,18 @@ static struct resource rtc_resources[] = { | |||
250 | */ | 250 | */ |
251 | static struct resource fsmc_resources[] = { | 251 | static struct resource fsmc_resources[] = { |
252 | { | 252 | { |
253 | .name = "nand_addr", | ||
254 | .start = U300_NAND_CS0_PHYS_BASE + PLAT_NAND_ALE, | ||
255 | .end = U300_NAND_CS0_PHYS_BASE + PLAT_NAND_ALE + SZ_16K - 1, | ||
256 | .flags = IORESOURCE_MEM, | ||
257 | }, | ||
258 | { | ||
259 | .name = "nand_cmd", | ||
260 | .start = U300_NAND_CS0_PHYS_BASE + PLAT_NAND_CLE, | ||
261 | .end = U300_NAND_CS0_PHYS_BASE + PLAT_NAND_CLE + SZ_16K - 1, | ||
262 | .flags = IORESOURCE_MEM, | ||
263 | }, | ||
264 | { | ||
253 | .name = "nand_data", | 265 | .name = "nand_data", |
254 | .start = U300_NAND_CS0_PHYS_BASE, | 266 | .start = U300_NAND_CS0_PHYS_BASE, |
255 | .end = U300_NAND_CS0_PHYS_BASE + SZ_16K - 1, | 267 | .end = U300_NAND_CS0_PHYS_BASE + SZ_16K - 1, |
@@ -1492,8 +1504,6 @@ static struct fsmc_nand_platform_data nand_platform_data = { | |||
1492 | .nr_partitions = ARRAY_SIZE(u300_partitions), | 1504 | .nr_partitions = ARRAY_SIZE(u300_partitions), |
1493 | .options = NAND_SKIP_BBTSCAN, | 1505 | .options = NAND_SKIP_BBTSCAN, |
1494 | .width = FSMC_NAND_BW8, | 1506 | .width = FSMC_NAND_BW8, |
1495 | .ale_off = PLAT_NAND_ALE, | ||
1496 | .cle_off = PLAT_NAND_CLE, | ||
1497 | }; | 1507 | }; |
1498 | 1508 | ||
1499 | static struct platform_device nand_device = { | 1509 | static struct platform_device nand_device = { |