aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/board-igep0020.c
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2009-12-11 19:16:32 -0500
committerTony Lindgren <tony@atomide.com>2009-12-11 19:16:32 -0500
commitca5742bdb58ebb74499731855dccf8f8a858b2e4 (patch)
tree081a83ab562edc561487c24ca889d133750790e2 /arch/arm/mach-omap2/board-igep0020.c
parentddaa912a2164d7ce7a03fcb384ed37e712bb4549 (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-igep0020.c')
-rw-r--r--arch/arm/mach-omap2/board-igep0020.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/board-igep0020.c b/arch/arm/mach-omap2/board-igep0020.c
index fa62e80c13b7..7e3217a18283 100644
--- a/arch/arm/mach-omap2/board-igep0020.c
+++ b/arch/arm/mach-omap2/board-igep0020.c
@@ -30,6 +30,7 @@
30#include <plat/mux.h> 30#include <plat/mux.h>
31#include <plat/usb.h> 31#include <plat/usb.h>
32 32
33#include "mux.h"
33#include "mmc-twl4030.h" 34#include "mmc-twl4030.h"
34 35
35#define IGEP2_SMSC911X_CS 5 36#define IGEP2_SMSC911X_CS 5
@@ -203,8 +204,17 @@ static int __init igep2_i2c_init(void)
203 return 0; 204 return 0;
204} 205}
205 206
207#ifdef CONFIG_OMAP_MUX
208static struct omap_board_mux board_mux[] __initdata = {
209 { .reg_offset = OMAP_MUX_TERMINATOR },
210};
211#else
212#define board_mux NULL
213#endif
214
206static void __init igep2_init(void) 215static void __init igep2_init(void)
207{ 216{
217 omap3_mux_init(board_mux, OMAP_PACKAGE_CBB);
208 igep2_i2c_init(); 218 igep2_i2c_init();
209 omap_serial_init(); 219 omap_serial_init();
210 usb_musb_init(); 220 usb_musb_init();