aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s5pv210/mach-smdkv210.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-s5pv210/mach-smdkv210.c')
-rw-r--r--arch/arm/mach-s5pv210/mach-smdkv210.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/mach-s5pv210/mach-smdkv210.c b/arch/arm/mach-s5pv210/mach-smdkv210.c
index 0d4627948040..cc902c1e8f98 100644
--- a/arch/arm/mach-s5pv210/mach-smdkv210.c
+++ b/arch/arm/mach-s5pv210/mach-smdkv210.c
@@ -27,6 +27,7 @@
27#include <plat/cpu.h> 27#include <plat/cpu.h>
28#include <plat/adc.h> 28#include <plat/adc.h>
29#include <plat/ts.h> 29#include <plat/ts.h>
30#include <plat/ata.h>
30 31
31/* Following are default values for UCON, ULCON and UFCON UART registers */ 32/* Following are default values for UCON, ULCON and UFCON UART registers */
32#define S5PV210_UCON_DEFAULT (S3C2410_UCON_TXILEVEL | \ 33#define S5PV210_UCON_DEFAULT (S3C2410_UCON_TXILEVEL | \
@@ -73,10 +74,15 @@ static struct s3c2410_uartcfg smdkv210_uartcfgs[] __initdata = {
73 }, 74 },
74}; 75};
75 76
77static struct s3c_ide_platdata smdkv210_ide_pdata __initdata = {
78 .setup_gpio = s5pv210_ide_setup_gpio,
79};
80
76static struct platform_device *smdkv210_devices[] __initdata = { 81static struct platform_device *smdkv210_devices[] __initdata = {
77 &s5pv210_device_iis0, 82 &s5pv210_device_iis0,
78 &s5pv210_device_ac97, 83 &s5pv210_device_ac97,
79 &s3c_device_adc, 84 &s3c_device_adc,
85 &s3c_device_cfcon,
80 &s3c_device_ts, 86 &s3c_device_ts,
81 &s3c_device_wdt, 87 &s3c_device_wdt,
82}; 88};
@@ -97,6 +103,8 @@ static void __init smdkv210_map_io(void)
97static void __init smdkv210_machine_init(void) 103static void __init smdkv210_machine_init(void)
98{ 104{
99 s3c24xx_ts_set_platdata(&s3c_ts_platform); 105 s3c24xx_ts_set_platdata(&s3c_ts_platform);
106 s3c_ide_set_platdata(&smdkv210_ide_pdata);
107
100 platform_add_devices(smdkv210_devices, ARRAY_SIZE(smdkv210_devices)); 108 platform_add_devices(smdkv210_devices, ARRAY_SIZE(smdkv210_devices));
101} 109}
102 110