diff options
author | Tony Lindgren <tony@atomide.com> | 2010-07-05 09:31:38 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2010-07-05 09:31:38 -0400 |
commit | bd8f0fc9791040e36501a9c1e373550ac2cff147 (patch) | |
tree | a169315418af821f025954238d9bf3f6b542af46 /arch/arm/mach-omap2/board-n8x0.c | |
parent | b52b14ef0d637718b7a648eb3949aef83ffc796d (diff) |
omap: mux: Select POP package for N8X0
Select POP package for N8X0
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/board-n8x0.c')
-rw-r--r-- | arch/arm/mach-omap2/board-n8x0.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/board-n8x0.c b/arch/arm/mach-omap2/board-n8x0.c index 3ccc34ebdcc7..5b9bbdc983bd 100644 --- a/arch/arm/mach-omap2/board-n8x0.c +++ b/arch/arm/mach-omap2/board-n8x0.c | |||
@@ -33,6 +33,8 @@ | |||
33 | #include <plat/mmc.h> | 33 | #include <plat/mmc.h> |
34 | #include <plat/serial.h> | 34 | #include <plat/serial.h> |
35 | 35 | ||
36 | #include "mux.h" | ||
37 | |||
36 | static int slot1_cover_open; | 38 | static int slot1_cover_open; |
37 | static int slot2_cover_open; | 39 | static int slot2_cover_open; |
38 | static struct device *mmc_device; | 40 | static struct device *mmc_device; |
@@ -649,8 +651,17 @@ static void __init n8x0_init_irq(void) | |||
649 | omap_gpio_init(); | 651 | omap_gpio_init(); |
650 | } | 652 | } |
651 | 653 | ||
654 | #ifdef CONFIG_OMAP_MUX | ||
655 | static struct omap_board_mux board_mux[] __initdata = { | ||
656 | { .reg_offset = OMAP_MUX_TERMINATOR }, | ||
657 | }; | ||
658 | #else | ||
659 | #define board_mux NULL | ||
660 | #endif | ||
661 | |||
652 | static void __init n8x0_init_machine(void) | 662 | static void __init n8x0_init_machine(void) |
653 | { | 663 | { |
664 | omap2420_mux_init(board_mux, OMAP_PACKAGE_ZAC); | ||
654 | /* FIXME: add n810 spi devices */ | 665 | /* FIXME: add n810 spi devices */ |
655 | spi_register_board_info(n800_spi_board_info, | 666 | spi_register_board_info(n800_spi_board_info, |
656 | ARRAY_SIZE(n800_spi_board_info)); | 667 | ARRAY_SIZE(n800_spi_board_info)); |