diff options
author | Syed Mohammed Khasim <x0khasim@ti.com> | 2006-12-06 20:14:05 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2007-09-20 12:59:20 -0400 |
commit | 72d0f1c3cdc7c456e1e357359ec6f566d0a5f264 (patch) | |
tree | 1cebb2edf9fa1be79d991e7a61fa196d284d9a17 /arch/arm/mach-omap2/devices.c | |
parent | f604931238dff7b44ef52ac2ad1f557e45b25b38 (diff) |
ARM: OMAP: Add minimal OMAP2430 support
This patch adds minimal OMAP2430 support to get the kernel booting on 2430SDP.
Signed-off-by: Syed Mohammed Khasim <x0khasim@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/devices.c')
-rw-r--r-- | arch/arm/mach-omap2/devices.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/devices.c b/arch/arm/mach-omap2/devices.c index 52ec2f2d6360..b603bc5f8e5b 100644 --- a/arch/arm/mach-omap2/devices.c +++ b/arch/arm/mach-omap2/devices.c | |||
@@ -55,8 +55,10 @@ static void omap_init_i2c(void) | |||
55 | if (machine_is_omap_h4()) | 55 | if (machine_is_omap_h4()) |
56 | return; | 56 | return; |
57 | 57 | ||
58 | omap_cfg_reg(J15_24XX_I2C2_SCL); | 58 | if (!cpu_is_omap2430()) { |
59 | omap_cfg_reg(H19_24XX_I2C2_SDA); | 59 | omap_cfg_reg(J15_24XX_I2C2_SCL); |
60 | omap_cfg_reg(H19_24XX_I2C2_SDA); | ||
61 | } | ||
60 | (void) platform_device_register(&omap_i2c_device2); | 62 | (void) platform_device_register(&omap_i2c_device2); |
61 | } | 63 | } |
62 | 64 | ||