Skip to content

Commit

Permalink
omap: mux: Select POP package for 2430SDP
Browse files Browse the repository at this point in the history
Select POP package for 2430SDP

Signed-off-by: Tony Lindgren <tony@atomide.com>
  • Loading branch information
Tony Lindgren committed Jul 5, 2010
1 parent bd8f0fc commit 369ed78
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions arch/arm/mach-omap2/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
11 changes: 11 additions & 0 deletions arch/arm/mach-omap2/board-2430sdp.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
#include <plat/usb.h>
#include <plat/gpmc-smc91x.h>

#include "mux.h"
#include "hsmmc.h"

#define SDP2430_CS0_BASE 0x04000000
Expand Down Expand Up @@ -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));
Expand Down

0 comments on commit 369ed78

Please sign in to comment.