diff options
author | Kukjin Kim <kgene.kim@samsung.com> | 2010-08-27 00:56:54 -0400 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2010-10-17 21:33:34 -0400 |
commit | 13904fba37aa00867dee0b4fe13df92fed1120f9 (patch) | |
tree | a47b2fb665480802a2ecba7550d8f78a02584673 /arch/arm/mach-s5pv310/include | |
parent | cd07202cc8262e1669edff0d97715f3dd9260917 (diff) |
ARM: S5P: Move OneNAND device definitions in plat-s5p
This patch moves OneNAND device definitions from mach-s5pv210 to plat-s5p
so that can support it commonly.
Note: S5PC110 and S5PC210 have same OneNAND driver.
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Cc: Kyungmin Park <kyungmin.park@samsung.com>
Diffstat (limited to 'arch/arm/mach-s5pv310/include')
-rw-r--r-- | arch/arm/mach-s5pv310/include/mach/irqs.h | 2 | ||||
-rw-r--r-- | arch/arm/mach-s5pv310/include/mach/map.h | 6 |
2 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/mach-s5pv310/include/mach/irqs.h b/arch/arm/mach-s5pv310/include/mach/irqs.h index 4cdedda6e652..471fc3bb199a 100644 --- a/arch/arm/mach-s5pv310/include/mach/irqs.h +++ b/arch/arm/mach-s5pv310/include/mach/irqs.h | |||
@@ -68,6 +68,8 @@ | |||
68 | 68 | ||
69 | #define IRQ_IIC COMBINER_IRQ(27, 0) | 69 | #define IRQ_IIC COMBINER_IRQ(27, 0) |
70 | 70 | ||
71 | #define IRQ_ONENAND_AUDI COMBINER_IRQ(34, 0) | ||
72 | |||
71 | /* Set the default NR_IRQS */ | 73 | /* Set the default NR_IRQS */ |
72 | 74 | ||
73 | #define NR_IRQS COMBINER_IRQ(MAX_COMBINER_NR, 0) | 75 | #define NR_IRQS COMBINER_IRQ(MAX_COMBINER_NR, 0) |
diff --git a/arch/arm/mach-s5pv310/include/mach/map.h b/arch/arm/mach-s5pv310/include/mach/map.h index 213e1101a3b3..204f386a3b6b 100644 --- a/arch/arm/mach-s5pv310/include/mach/map.h +++ b/arch/arm/mach-s5pv310/include/mach/map.h | |||
@@ -25,6 +25,12 @@ | |||
25 | 25 | ||
26 | #define S5PV310_PA_SYSRAM (0x02025000) | 26 | #define S5PV310_PA_SYSRAM (0x02025000) |
27 | 27 | ||
28 | #define S5PC210_PA_ONENAND (0x0C000000) | ||
29 | #define S5P_PA_ONENAND S5PC210_PA_ONENAND | ||
30 | |||
31 | #define S5PC210_PA_ONENAND_DMA (0x0C600000) | ||
32 | #define S5P_PA_ONENAND_DMA S5PC210_PA_ONENAND_DMA | ||
33 | |||
28 | #define S5PV310_PA_CHIPID (0x10000000) | 34 | #define S5PV310_PA_CHIPID (0x10000000) |
29 | #define S5P_PA_CHIPID S5PV310_PA_CHIPID | 35 | #define S5P_PA_CHIPID S5PV310_PA_CHIPID |
30 | 36 | ||