diff options
author | Tony Lindgren <tony@atomide.com> | 2009-12-11 19:16:32 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2009-12-11 19:16:32 -0500 |
commit | ca5742bdb58ebb74499731855dccf8f8a858b2e4 (patch) | |
tree | 081a83ab562edc561487c24ca889d133750790e2 /arch/arm/mach-omap2/board-rx51.c | |
parent | ddaa912a2164d7ce7a03fcb384ed37e712bb4549 (diff) |
omap: mux: Add new style init functions to omap3 board-*.c files
Add new style mux init functions to omap3 board-*.c files
So far Beagle has been confirmed to be a CBB package,
and CM-T35 a CUS package.
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/board-rx51.c')
-rw-r--r-- | arch/arm/mach-omap2/board-rx51.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/board-rx51.c b/arch/arm/mach-omap2/board-rx51.c index 1bb1de245917..c0c99adc4320 100644 --- a/arch/arm/mach-omap2/board-rx51.c +++ b/arch/arm/mach-omap2/board-rx51.c | |||
@@ -30,6 +30,8 @@ | |||
30 | #include <plat/gpmc.h> | 30 | #include <plat/gpmc.h> |
31 | #include <plat/usb.h> | 31 | #include <plat/usb.h> |
32 | 32 | ||
33 | #include "mux.h" | ||
34 | |||
33 | struct omap_sdrc_params *rx51_get_sdram_timings(void); | 35 | struct omap_sdrc_params *rx51_get_sdram_timings(void); |
34 | 36 | ||
35 | static struct omap_lcd_config rx51_lcd_config = { | 37 | static struct omap_lcd_config rx51_lcd_config = { |
@@ -69,8 +71,17 @@ static void __init rx51_init_irq(void) | |||
69 | 71 | ||
70 | extern void __init rx51_peripherals_init(void); | 72 | extern void __init rx51_peripherals_init(void); |
71 | 73 | ||
74 | #ifdef CONFIG_OMAP_MUX | ||
75 | static struct omap_board_mux board_mux[] __initdata = { | ||
76 | { .reg_offset = OMAP_MUX_TERMINATOR }, | ||
77 | }; | ||
78 | #else | ||
79 | #define board_mux NULL | ||
80 | #endif | ||
81 | |||
72 | static void __init rx51_init(void) | 82 | static void __init rx51_init(void) |
73 | { | 83 | { |
84 | omap3_mux_init(board_mux, OMAP_PACKAGE_CBB); | ||
74 | omap_serial_init(); | 85 | omap_serial_init(); |
75 | usb_musb_init(); | 86 | usb_musb_init(); |
76 | rx51_peripherals_init(); | 87 | rx51_peripherals_init(); |