diff options
author | Abhilash Kesavan <a.kesavan@samsung.com> | 2010-06-08 04:11:43 -0400 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2010-08-05 05:31:01 -0400 |
commit | 4b9a5ad567af06d8929f022c71469ada1679a367 (patch) | |
tree | 9eced368d95901463a5565d465a1c3440fa48dc3 /arch/arm/mach-s5pv210/cpu.c | |
parent | ba149f3acdbbf143d70a64275917a6297c2373ba (diff) |
ARM: S5PV210: Add support for Compact Flash driver on SMDKV210/C110
Following is added for the CF-ATA driver:
- Platform data strucure instantiation
- Platform device enabling code
- Platform-specific gpio setup code
- Fixed IRQ naming to match across 64xx and v210
Signed-off-by: Abhilash Kesavan <a.kesavan@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-s5pv210/cpu.c')
-rw-r--r-- | arch/arm/mach-s5pv210/cpu.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/mach-s5pv210/cpu.c b/arch/arm/mach-s5pv210/cpu.c index 411a4a9cbfc..8c4fdcde7f3 100644 --- a/arch/arm/mach-s5pv210/cpu.c +++ b/arch/arm/mach-s5pv210/cpu.c | |||
@@ -32,6 +32,7 @@ | |||
32 | #include <plat/devs.h> | 32 | #include <plat/devs.h> |
33 | #include <plat/clock.h> | 33 | #include <plat/clock.h> |
34 | #include <plat/s5pv210.h> | 34 | #include <plat/s5pv210.h> |
35 | #include <plat/ata-core.h> | ||
35 | #include <plat/iic-core.h> | 36 | #include <plat/iic-core.h> |
36 | #include <plat/sdhci.h> | 37 | #include <plat/sdhci.h> |
37 | 38 | ||
@@ -79,7 +80,6 @@ void __init s5pv210_map_io(void) | |||
79 | #ifdef CONFIG_S3C_DEV_ADC | 80 | #ifdef CONFIG_S3C_DEV_ADC |
80 | s3c_device_adc.name = "s3c64xx-adc"; | 81 | s3c_device_adc.name = "s3c64xx-adc"; |
81 | #endif | 82 | #endif |
82 | |||
83 | iotable_init(s5pv210_iodesc, ARRAY_SIZE(s5pv210_iodesc)); | 83 | iotable_init(s5pv210_iodesc, ARRAY_SIZE(s5pv210_iodesc)); |
84 | 84 | ||
85 | /* initialise device information early */ | 85 | /* initialise device information early */ |
@@ -87,6 +87,8 @@ void __init s5pv210_map_io(void) | |||
87 | s5pv210_default_sdhci1(); | 87 | s5pv210_default_sdhci1(); |
88 | s5pv210_default_sdhci2(); | 88 | s5pv210_default_sdhci2(); |
89 | 89 | ||
90 | s3c_cfcon_setname("s5pv210-pata"); | ||
91 | |||
90 | /* the i2c devices are directly compatible with s3c2440 */ | 92 | /* the i2c devices are directly compatible with s3c2440 */ |
91 | s3c_i2c0_setname("s3c2440-i2c"); | 93 | s3c_i2c0_setname("s3c2440-i2c"); |
92 | s3c_i2c1_setname("s3c2440-i2c"); | 94 | s3c_i2c1_setname("s3c2440-i2c"); |