Skip to content

Commit

Permalink
omap: mux: Select SIP package for H4
Browse files Browse the repository at this point in the history
Select SIP package for H4

Signed-off-by: Tony Lindgren <tony@atomide.com>
  • Loading branch information
Tony Lindgren committed Jul 5, 2010
1 parent 89ba109 commit 23275d4
Show file tree
Hide file tree
Showing 2 changed files with 13 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 @@ -50,6 +50,7 @@ config MACH_OMAP2_TUSB6010
config MACH_OMAP_H4
bool "OMAP 2420 H4 board"
depends on ARCH_OMAP2
select OMAP_PACKAGE_ZAF
select OMAP_DEBUG_DEVICES

config MACH_OMAP_APOLLON
Expand Down
12 changes: 12 additions & 0 deletions arch/arm/mach-omap2/board-h4.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@
#include <plat/dma.h>
#include <plat/gpmc.h>

#include "mux.h"

#define H4_FLASH_CS 0
#define H4_SMC91X_CS 1

Expand Down Expand Up @@ -338,8 +340,18 @@ static struct i2c_board_info __initdata h4_i2c_board_info[] = {
},
};

#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_h4_init(void)
{
omap2420_mux_init(board_mux, OMAP_PACKAGE_ZAF);

/*
* Make sure the serial ports are muxed on at this point.
* You have to mux them off in device drivers later on
Expand Down

0 comments on commit 23275d4

Please sign in to comment.