summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s5pv210/include/mach/map.h
diff options
context:
space:
mode:
authorMarek Szyprowski2010-05-20 08:59:05 +0200
committerBen Dooks2010-05-20 10:48:36 +0200
commit999304be1177d42d16bc59c546228c6ac5a3e76a (patch)
treeab8ba2b618484e93033bcc53fe0a4e014434d99f /arch/arm/mach-s5pv210/include/mach/map.h
parentInput: s3c24xx_ts - depend on SAMSUNG_DEV_TS and update menu entry (diff)
downloadkernel-qcow2-linux-999304be1177d42d16bc59c546228c6ac5a3e76a.tar.gz
kernel-qcow2-linux-999304be1177d42d16bc59c546228c6ac5a3e76a.tar.xz
kernel-qcow2-linux-999304be1177d42d16bc59c546228c6ac5a3e76a.zip
ARM: SAMSUNG: Add platform support code for OneNAND controller
This patch adds setup code for Samsung OneNAND controller driver. The driver needs to be aware on which SoC it is running, so the actual device id is being changed in cpu init code. S3C64xx SoCs have 2 OneNAND controllers while S5PC100 and S5PC110 has only one. Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> [ben-linux@fluff.org: sort map.h entries] Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch/arm/mach-s5pv210/include/mach/map.h')
-rw-r--r--arch/arm/mach-s5pv210/include/mach/map.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-s5pv210/include/mach/map.h b/arch/arm/mach-s5pv210/include/mach/map.h
index 5adcb9f26e44..d2a505fa1fff 100644
--- a/arch/arm/mach-s5pv210/include/mach/map.h
+++ b/arch/arm/mach-s5pv210/include/mach/map.h
@@ -16,6 +16,9 @@
#include <plat/map-base.h>
#include <plat/map-s5p.h>
+#define S5PC110_PA_ONENAND (0xB0000000)
+#define S5PC110_PA_ONENAND_DMA (0xB0600000)
+
#define S5PV210_PA_CHIPID (0xE0000000)
#define S5P_PA_CHIPID S5PV210_PA_CHIPID