Skip to content

Commit

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

Cc: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
  • Loading branch information
Tony Lindgren committed Jul 5, 2010
1 parent 23275d4 commit b52b14e
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 @@ -56,6 +56,7 @@ config MACH_OMAP_H4
config MACH_OMAP_APOLLON
bool "OMAP 2420 Apollon board"
depends on ARCH_OMAP2
select OMAP_PACKAGE_ZAC

config MACH_OMAP_2430SDP
bool "OMAP 2430 SDP board"
Expand Down
12 changes: 12 additions & 0 deletions arch/arm/mach-omap2/board-apollon.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@
#include <plat/gpmc.h>
#include <plat/control.h>

#include "mux.h"

/* LED & Switch macros */
#define LED0_GPIO13 13
#define LED1_GPIO14 14
Expand Down Expand Up @@ -309,10 +311,20 @@ static void __init apollon_usb_init(void)
omap2_usbfs_init(&apollon_usb_config);
}

#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_apollon_init(void)
{
u32 v;

omap2420_mux_init(board_mux, OMAP_PACKAGE_ZAC);

apollon_led_init();
apollon_flash_init();
apollon_usb_init();
Expand Down

0 comments on commit b52b14e

Please sign in to comment.