aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s3c64xx/mach-smdk6410.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-s3c64xx/mach-smdk6410.c')
-rw-r--r--arch/arm/mach-s3c64xx/mach-smdk6410.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c64xx/mach-smdk6410.c b/arch/arm/mach-s3c64xx/mach-smdk6410.c
index d9a03555f88b..0d7d93fbc43b 100644
--- a/arch/arm/mach-s3c64xx/mach-smdk6410.c
+++ b/arch/arm/mach-s3c64xx/mach-smdk6410.c
@@ -56,6 +56,7 @@
56#include <mach/regs-gpio.h> 56#include <mach/regs-gpio.h>
57#include <mach/regs-sys.h> 57#include <mach/regs-sys.h>
58#include <mach/regs-srom.h> 58#include <mach/regs-srom.h>
59#include <plat/ata.h>
59#include <plat/iic.h> 60#include <plat/iic.h>
60#include <plat/fb.h> 61#include <plat/fb.h>
61#include <plat/gpio-cfg.h> 62#include <plat/gpio-cfg.h>
@@ -242,6 +243,10 @@ static struct platform_device smdk6410_b_pwr_5v = {
242}; 243};
243#endif 244#endif
244 245
246static struct s3c_ide_platdata smdk6410_ide_pdata __initdata = {
247 .setup_gpio = s3c64xx_ide_setup_gpio,
248};
249
245static struct map_desc smdk6410_iodesc[] = {}; 250static struct map_desc smdk6410_iodesc[] = {};
246 251
247static struct platform_device *smdk6410_devices[] __initdata = { 252static struct platform_device *smdk6410_devices[] __initdata = {
@@ -265,6 +270,7 @@ static struct platform_device *smdk6410_devices[] __initdata = {
265 270
266 &smdk6410_smsc911x, 271 &smdk6410_smsc911x,
267 &s3c_device_adc, 272 &s3c_device_adc,
273 &s3c_device_cfcon,
268 &s3c_device_ts, 274 &s3c_device_ts,
269 &s3c_device_wdt, 275 &s3c_device_wdt,
270}; 276};
@@ -665,6 +671,8 @@ static void __init smdk6410_machine_init(void)
665 i2c_register_board_info(0, i2c_devs0, ARRAY_SIZE(i2c_devs0)); 671 i2c_register_board_info(0, i2c_devs0, ARRAY_SIZE(i2c_devs0));
666 i2c_register_board_info(1, i2c_devs1, ARRAY_SIZE(i2c_devs1)); 672 i2c_register_board_info(1, i2c_devs1, ARRAY_SIZE(i2c_devs1));
667 673
674 s3c_ide_set_platdata(&smdk6410_ide_pdata);
675
668 platform_add_devices(smdk6410_devices, ARRAY_SIZE(smdk6410_devices)); 676 platform_add_devices(smdk6410_devices, ARRAY_SIZE(smdk6410_devices));
669} 677}
670 678