ARM: S5PV310: Universal OneNAND support
authorKyungmin Park <kyungmin.park@samsung.com>
Fri, 8 Oct 2010 13:34:52 +0000 (22:34 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Mon, 25 Oct 2010 07:02:52 +0000 (16:02 +0900)
OneNAND device support for Universal board.

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
[kgene.kim@samsung.com: minor title fixes]
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/mach-s5pv310/Kconfig
arch/arm/mach-s5pv310/mach-universal_c210.c

index 8cb3dc52b62378bc0ece0a41f6f4750c48160762..6b2b948c9ccd52fcc8a45377233d3273b2b71dae 100644 (file)
@@ -56,6 +56,7 @@ config MACH_SMDKC210
 config MACH_UNIVERSAL_C210
        bool "Mobile UNIVERSAL_C210 Board"
        select CPU_S5PV310
+       select S5P_DEV_ONENAND
        help
          Machine support for Samsung Mobile Universal S5PC210 Reference
          Board. S5PC210(MCP) is one of package option of S5PV310
index b57efaeb295f91a6bcd92614d52958f339195380..e16984963e893d7aae6cc10b22245f2bb65d43e1 100644 (file)
@@ -20,6 +20,7 @@
 #include <plat/regs-serial.h>
 #include <plat/s5pv310.h>
 #include <plat/cpu.h>
+#include <plat/devs.h>
 
 #include <mach/map.h>
 
@@ -117,6 +118,7 @@ static struct platform_device universal_gpio_keys = {
 
 static struct platform_device *universal_devices[] __initdata = {
        &universal_gpio_keys,
+       &s5p_device_onenand,
 };
 
 static void __init universal_map_io(void)