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 | |
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')
-rw-r--r-- | arch/arm/mach-omap2/Kconfig | 1 | ||||
-rw-r--r-- | arch/arm/mach-omap2/board-n8x0.c | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig index 269f84fd94d9..4158368d0b0f 100644 --- a/arch/arm/mach-omap2/Kconfig +++ b/arch/arm/mach-omap2/Kconfig | |||
@@ -120,6 +120,7 @@ config MACH_NOKIA_N810_WIMAX | |||
120 | config MACH_NOKIA_N8X0 | 120 | config MACH_NOKIA_N8X0 |
121 | bool "Nokia N800/N810" | 121 | bool "Nokia N800/N810" |
122 | depends on ARCH_OMAP2420 | 122 | depends on ARCH_OMAP2420 |
123 | select OMAP_PACKAGE_ZAC | ||
123 | select MACH_NOKIA_N800 | 124 | select MACH_NOKIA_N800 |
124 | select MACH_NOKIA_N810 | 125 | select MACH_NOKIA_N810 |
125 | select MACH_NOKIA_N810_WIMAX | 126 | select MACH_NOKIA_N810_WIMAX |
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)); |