diff options
Diffstat (limited to 'arch/arm/mach-omap2/board-rx51.c')
-rw-r--r-- | arch/arm/mach-omap2/board-rx51.c | 24 |
1 files changed, 14 insertions, 10 deletions
diff --git a/arch/arm/mach-omap2/board-rx51.c b/arch/arm/mach-omap2/board-rx51.c index f9196c3b1a7b..1bb1de245917 100644 --- a/arch/arm/mach-omap2/board-rx51.c +++ b/arch/arm/mach-omap2/board-rx51.c | |||
@@ -22,14 +22,15 @@ | |||
22 | #include <asm/mach/arch.h> | 22 | #include <asm/mach/arch.h> |
23 | #include <asm/mach/map.h> | 23 | #include <asm/mach/map.h> |
24 | 24 | ||
25 | #include <mach/mcspi.h> | 25 | #include <plat/mcspi.h> |
26 | #include <mach/mux.h> | 26 | #include <plat/mux.h> |
27 | #include <mach/board.h> | 27 | #include <plat/board.h> |
28 | #include <mach/common.h> | 28 | #include <plat/common.h> |
29 | #include <mach/keypad.h> | 29 | #include <plat/dma.h> |
30 | #include <mach/dma.h> | 30 | #include <plat/gpmc.h> |
31 | #include <mach/gpmc.h> | 31 | #include <plat/usb.h> |
32 | #include <mach/usb.h> | 32 | |
33 | struct omap_sdrc_params *rx51_get_sdram_timings(void); | ||
33 | 34 | ||
34 | static struct omap_lcd_config rx51_lcd_config = { | 35 | static struct omap_lcd_config rx51_lcd_config = { |
35 | .ctrl_name = "internal", | 36 | .ctrl_name = "internal", |
@@ -56,9 +57,12 @@ static struct omap_board_config_kernel rx51_config[] = { | |||
56 | 57 | ||
57 | static void __init rx51_init_irq(void) | 58 | static void __init rx51_init_irq(void) |
58 | { | 59 | { |
60 | struct omap_sdrc_params *sdrc_params; | ||
61 | |||
59 | omap_board_config = rx51_config; | 62 | omap_board_config = rx51_config; |
60 | omap_board_config_size = ARRAY_SIZE(rx51_config); | 63 | omap_board_config_size = ARRAY_SIZE(rx51_config); |
61 | omap2_init_common_hw(NULL, NULL); | 64 | sdrc_params = rx51_get_sdram_timings(); |
65 | omap2_init_common_hw(sdrc_params, sdrc_params); | ||
62 | omap_init_irq(); | 66 | omap_init_irq(); |
63 | omap_gpio_init(); | 67 | omap_gpio_init(); |
64 | } | 68 | } |
@@ -85,7 +89,7 @@ static void __init rx51_map_io(void) | |||
85 | MACHINE_START(NOKIA_RX51, "Nokia RX-51 board") | 89 | MACHINE_START(NOKIA_RX51, "Nokia RX-51 board") |
86 | /* Maintainer: Lauri Leukkunen <lauri.leukkunen@nokia.com> */ | 90 | /* Maintainer: Lauri Leukkunen <lauri.leukkunen@nokia.com> */ |
87 | .phys_io = 0x48000000, | 91 | .phys_io = 0x48000000, |
88 | .io_pg_offst = ((0xd8000000) >> 18) & 0xfffc, | 92 | .io_pg_offst = ((0xfa000000) >> 18) & 0xfffc, |
89 | .boot_params = 0x80000100, | 93 | .boot_params = 0x80000100, |
90 | .map_io = rx51_map_io, | 94 | .map_io = rx51_map_io, |
91 | .init_irq = rx51_init_irq, | 95 | .init_irq = rx51_init_irq, |