aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/board-rx51.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-omap2/board-rx51.c')
-rw-r--r--arch/arm/mach-omap2/board-rx51.c11
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
33struct omap_sdrc_params *rx51_get_sdram_timings(void); 35struct omap_sdrc_params *rx51_get_sdram_timings(void);
34 36
35static struct omap_lcd_config rx51_lcd_config = { 37static struct omap_lcd_config rx51_lcd_config = {
@@ -69,8 +71,17 @@ static void __init rx51_init_irq(void)
69 71
70extern void __init rx51_peripherals_init(void); 72extern void __init rx51_peripherals_init(void);
71 73
74#ifdef CONFIG_OMAP_MUX
75static struct omap_board_mux board_mux[] __initdata = {
76 { .reg_offset = OMAP_MUX_TERMINATOR },
77};
78#else
79#define board_mux NULL
80#endif
81
72static void __init rx51_init(void) 82static 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();