omap: mux: Select POP package for 2430SDP
authorTony Lindgren <tony@atomide.com>
Mon, 5 Jul 2010 13:31:38 +0000 (16:31 +0300)
committerTony Lindgren <tony@atomide.com>
Mon, 5 Jul 2010 13:31:38 +0000 (16:31 +0300)
Select POP package for 2430SDP

Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/Kconfig
arch/arm/mach-omap2/board-2430sdp.c

index 4158368d0b0fad7c308e0157b5757762dfdeb2ee..f67f0378fc9b391f925bc592ee786477ae8287cf 100644 (file)
@@ -61,6 +61,7 @@ config MACH_OMAP_APOLLON
 config MACH_OMAP_2430SDP
        bool "OMAP 2430 SDP board"
        depends on ARCH_OMAP2
+       select OMAP_PACKAGE_ZAC
 
 config MACH_OMAP3_BEAGLE
        bool "OMAP3 BEAGLE board"
index ec920c90a5260e8aefc590036067d08db28a6cd7..281aa134ee67c15d2f3999a0bde78e68d83545fd 100644 (file)
@@ -38,6 +38,7 @@
 #include <plat/usb.h>
 #include <plat/gpmc-smc91x.h>
 
+#include "mux.h"
 #include "hsmmc.h"
 
 #define SDP2430_CS0_BASE       0x04000000
@@ -217,10 +218,20 @@ static struct omap_usb_config sdp2430_usb_config __initdata = {
        .pins[0]        = 3,
 };
 
+#ifdef CONFIG_OMAP_MUX
+static struct omap_board_mux board_mux[] __initdata = {
+       { .reg_offset = OMAP_MUX_TERMINATOR },
+};
+#else
+#define board_mux      NULL
+#endif
+
 static void __init omap_2430sdp_init(void)
 {
        int ret;
 
+       omap2430_mux_init(board_mux, OMAP_PACKAGE_ZAC);
+
        omap2430_i2c_init();
 
        platform_add_devices(sdp2430_devices, ARRAY_SIZE(sdp2430_devices));