diff options
author | Tony Lindgren <tony@atomide.com> | 2009-12-11 19:16:32 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2009-12-11 19:16:32 -0500 |
commit | ca5742bdb58ebb74499731855dccf8f8a858b2e4 (patch) | |
tree | 081a83ab562edc561487c24ca889d133750790e2 /arch | |
parent | ddaa912a2164d7ce7a03fcb384ed37e712bb4549 (diff) |
omap: mux: Add new style init functions to omap3 board-*.c files
Add new style mux init functions to omap3 board-*.c files
So far Beagle has been confirmed to be a CBB package,
and CM-T35 a CUS package.
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-omap2/Kconfig | 10 | ||||
-rw-r--r-- | arch/arm/mach-omap2/board-3430sdp.c | 10 | ||||
-rw-r--r-- | arch/arm/mach-omap2/board-am3517evm.c | 11 | ||||
-rw-r--r-- | arch/arm/mach-omap2/board-cm-t35.c | 10 | ||||
-rw-r--r-- | arch/arm/mach-omap2/board-igep0020.c | 10 | ||||
-rw-r--r-- | arch/arm/mach-omap2/board-ldp.c | 10 | ||||
-rw-r--r-- | arch/arm/mach-omap2/board-omap3beagle.c | 10 | ||||
-rw-r--r-- | arch/arm/mach-omap2/board-omap3evm.c | 10 | ||||
-rw-r--r-- | arch/arm/mach-omap2/board-omap3pandora.c | 10 | ||||
-rw-r--r-- | arch/arm/mach-omap2/board-overo.c | 9 | ||||
-rw-r--r-- | arch/arm/mach-omap2/board-rx51.c | 11 | ||||
-rw-r--r-- | arch/arm/mach-omap2/board-zoom2.c | 10 |
12 files changed, 121 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig index 7da18f091932..87893d2d86b5 100644 --- a/arch/arm/mach-omap2/Kconfig +++ b/arch/arm/mach-omap2/Kconfig | |||
@@ -61,14 +61,17 @@ config MACH_OMAP_2430SDP | |||
61 | config MACH_OMAP3_BEAGLE | 61 | config MACH_OMAP3_BEAGLE |
62 | bool "OMAP3 BEAGLE board" | 62 | bool "OMAP3 BEAGLE board" |
63 | depends on ARCH_OMAP3 && ARCH_OMAP34XX | 63 | depends on ARCH_OMAP3 && ARCH_OMAP34XX |
64 | select OMAP_PACKAGE_CBB | ||
64 | 65 | ||
65 | config MACH_OMAP_LDP | 66 | config MACH_OMAP_LDP |
66 | bool "OMAP3 LDP board" | 67 | bool "OMAP3 LDP board" |
67 | depends on ARCH_OMAP3 && ARCH_OMAP34XX | 68 | depends on ARCH_OMAP3 && ARCH_OMAP34XX |
69 | select OMAP_PACKAGE_CBB | ||
68 | 70 | ||
69 | config MACH_OVERO | 71 | config MACH_OVERO |
70 | bool "Gumstix Overo board" | 72 | bool "Gumstix Overo board" |
71 | depends on ARCH_OMAP3 && ARCH_OMAP34XX | 73 | depends on ARCH_OMAP3 && ARCH_OMAP34XX |
74 | select OMAP_PACKAGE_CBB | ||
72 | 75 | ||
73 | config MACH_OMAP3EVM | 76 | config MACH_OMAP3EVM |
74 | bool "OMAP 3530 EVM board" | 77 | bool "OMAP 3530 EVM board" |
@@ -77,14 +80,17 @@ config MACH_OMAP3EVM | |||
77 | config MACH_OMAP3517EVM | 80 | config MACH_OMAP3517EVM |
78 | bool "OMAP3517/ AM3517 EVM board" | 81 | bool "OMAP3517/ AM3517 EVM board" |
79 | depends on ARCH_OMAP3 && ARCH_OMAP34XX | 82 | depends on ARCH_OMAP3 && ARCH_OMAP34XX |
83 | select OMAP_PACKAGE_CBB | ||
80 | 84 | ||
81 | config MACH_OMAP3_PANDORA | 85 | config MACH_OMAP3_PANDORA |
82 | bool "OMAP3 Pandora" | 86 | bool "OMAP3 Pandora" |
83 | depends on ARCH_OMAP3 && ARCH_OMAP34XX | 87 | depends on ARCH_OMAP3 && ARCH_OMAP34XX |
88 | select OMAP_PACKAGE_CBB | ||
84 | 89 | ||
85 | config MACH_OMAP_3430SDP | 90 | config MACH_OMAP_3430SDP |
86 | bool "OMAP 3430 SDP board" | 91 | bool "OMAP 3430 SDP board" |
87 | depends on ARCH_OMAP3 && ARCH_OMAP34XX | 92 | depends on ARCH_OMAP3 && ARCH_OMAP34XX |
93 | select OMAP_PACKAGE_CBB | ||
88 | 94 | ||
89 | config MACH_NOKIA_N800 | 95 | config MACH_NOKIA_N800 |
90 | bool | 96 | bool |
@@ -105,10 +111,12 @@ config MACH_NOKIA_N8X0 | |||
105 | config MACH_NOKIA_RX51 | 111 | config MACH_NOKIA_RX51 |
106 | bool "Nokia RX-51 board" | 112 | bool "Nokia RX-51 board" |
107 | depends on ARCH_OMAP3 && ARCH_OMAP34XX | 113 | depends on ARCH_OMAP3 && ARCH_OMAP34XX |
114 | select OMAP_PACKAGE_CBB | ||
108 | 115 | ||
109 | config MACH_OMAP_ZOOM2 | 116 | config MACH_OMAP_ZOOM2 |
110 | bool "OMAP3 Zoom2 board" | 117 | bool "OMAP3 Zoom2 board" |
111 | depends on ARCH_OMAP3 && ARCH_OMAP34XX | 118 | depends on ARCH_OMAP3 && ARCH_OMAP34XX |
119 | select OMAP_PACKAGE_CBB | ||
112 | 120 | ||
113 | config MACH_OMAP_ZOOM3 | 121 | config MACH_OMAP_ZOOM3 |
114 | bool "OMAP3630 Zoom3 board" | 122 | bool "OMAP3630 Zoom3 board" |
@@ -117,10 +125,12 @@ config MACH_OMAP_ZOOM3 | |||
117 | config MACH_CM_T35 | 125 | config MACH_CM_T35 |
118 | bool "CompuLab CM-T35 module" | 126 | bool "CompuLab CM-T35 module" |
119 | depends on ARCH_OMAP3 && ARCH_OMAP34XX | 127 | depends on ARCH_OMAP3 && ARCH_OMAP34XX |
128 | select OMAP_PACKAGE_CUS | ||
120 | 129 | ||
121 | config MACH_IGEP0020 | 130 | config MACH_IGEP0020 |
122 | bool "IGEP0020" | 131 | bool "IGEP0020" |
123 | depends on ARCH_OMAP3 && ARCH_OMAP34XX | 132 | depends on ARCH_OMAP3 && ARCH_OMAP34XX |
133 | select OMAP_PACKAGE_CBB | ||
124 | 134 | ||
125 | config MACH_OMAP_3630SDP | 135 | config MACH_OMAP_3630SDP |
126 | bool "OMAP3630 SDP board" | 136 | bool "OMAP3630 SDP board" |
diff --git a/arch/arm/mach-omap2/board-3430sdp.c b/arch/arm/mach-omap2/board-3430sdp.c index 5bda9fdbee9e..e5d911881534 100644 --- a/arch/arm/mach-omap2/board-3430sdp.c +++ b/arch/arm/mach-omap2/board-3430sdp.c | |||
@@ -42,6 +42,7 @@ | |||
42 | #include <plat/control.h> | 42 | #include <plat/control.h> |
43 | #include <plat/gpmc-smc91x.h> | 43 | #include <plat/gpmc-smc91x.h> |
44 | 44 | ||
45 | #include "mux.h" | ||
45 | #include "sdram-qimonda-hyb18m512160af-6.h" | 46 | #include "sdram-qimonda-hyb18m512160af-6.h" |
46 | #include "mmc-twl4030.h" | 47 | #include "mmc-twl4030.h" |
47 | 48 | ||
@@ -640,8 +641,17 @@ static struct ehci_hcd_omap_platform_data ehci_pdata __initconst = { | |||
640 | .reset_gpio_port[2] = -EINVAL | 641 | .reset_gpio_port[2] = -EINVAL |
641 | }; | 642 | }; |
642 | 643 | ||
644 | #ifdef CONFIG_OMAP_MUX | ||
645 | static struct omap_board_mux board_mux[] __initdata = { | ||
646 | { .reg_offset = OMAP_MUX_TERMINATOR }, | ||
647 | }; | ||
648 | #else | ||
649 | #define board_mux NULL | ||
650 | #endif | ||
651 | |||
643 | static void __init omap_3430sdp_init(void) | 652 | static void __init omap_3430sdp_init(void) |
644 | { | 653 | { |
654 | omap3_mux_init(board_mux, OMAP_PACKAGE_CBB); | ||
645 | omap3430_i2c_init(); | 655 | omap3430_i2c_init(); |
646 | platform_add_devices(sdp3430_devices, ARRAY_SIZE(sdp3430_devices)); | 656 | platform_add_devices(sdp3430_devices, ARRAY_SIZE(sdp3430_devices)); |
647 | if (omap_rev() > OMAP3430_REV_ES1_0) | 657 | if (omap_rev() > OMAP3430_REV_ES1_0) |
diff --git a/arch/arm/mach-omap2/board-am3517evm.c b/arch/arm/mach-omap2/board-am3517evm.c index 415a13d767cc..b4e6eca0e8a9 100644 --- a/arch/arm/mach-omap2/board-am3517evm.c +++ b/arch/arm/mach-omap2/board-am3517evm.c | |||
@@ -30,6 +30,8 @@ | |||
30 | #include <plat/common.h> | 30 | #include <plat/common.h> |
31 | #include <plat/usb.h> | 31 | #include <plat/usb.h> |
32 | 32 | ||
33 | #include "mux.h" | ||
34 | |||
33 | /* | 35 | /* |
34 | * Board initialization | 36 | * Board initialization |
35 | */ | 37 | */ |
@@ -60,8 +62,17 @@ static struct ehci_hcd_omap_platform_data ehci_pdata __initdata = { | |||
60 | .reset_gpio_port[2] = -EINVAL | 62 | .reset_gpio_port[2] = -EINVAL |
61 | }; | 63 | }; |
62 | 64 | ||
65 | #ifdef CONFIG_OMAP_MUX | ||
66 | static struct omap_board_mux board_mux[] __initdata = { | ||
67 | { .reg_offset = OMAP_MUX_TERMINATOR }, | ||
68 | }; | ||
69 | #else | ||
70 | #define board_mux NULL | ||
71 | #endif | ||
72 | |||
63 | static void __init am3517_evm_init(void) | 73 | static void __init am3517_evm_init(void) |
64 | { | 74 | { |
75 | omap3_mux_init(board_mux, OMAP_PACKAGE_CBB); | ||
65 | platform_add_devices(am3517_evm_devices, | 76 | platform_add_devices(am3517_evm_devices, |
66 | ARRAY_SIZE(am3517_evm_devices)); | 77 | ARRAY_SIZE(am3517_evm_devices)); |
67 | 78 | ||
diff --git a/arch/arm/mach-omap2/board-cm-t35.c b/arch/arm/mach-omap2/board-cm-t35.c index 22c45290db63..84321f67e7f1 100644 --- a/arch/arm/mach-omap2/board-cm-t35.c +++ b/arch/arm/mach-omap2/board-cm-t35.c | |||
@@ -45,6 +45,7 @@ | |||
45 | 45 | ||
46 | #include <mach/hardware.h> | 46 | #include <mach/hardware.h> |
47 | 47 | ||
48 | #include "mux.h" | ||
48 | #include "sdram-micron-mt46h32m32lf-6.h" | 49 | #include "sdram-micron-mt46h32m32lf-6.h" |
49 | #include "mmc-twl4030.h" | 50 | #include "mmc-twl4030.h" |
50 | 51 | ||
@@ -482,8 +483,17 @@ static void __init cm_t35_map_io(void) | |||
482 | omap2_map_common_io(); | 483 | omap2_map_common_io(); |
483 | } | 484 | } |
484 | 485 | ||
486 | #ifdef CONFIG_OMAP_MUX | ||
487 | static struct omap_board_mux board_mux[] __initdata = { | ||
488 | { .reg_offset = OMAP_MUX_TERMINATOR }, | ||
489 | }; | ||
490 | #else | ||
491 | #define board_mux NULL | ||
492 | #endif | ||
493 | |||
485 | static void __init cm_t35_init(void) | 494 | static void __init cm_t35_init(void) |
486 | { | 495 | { |
496 | omap3_mux_init(board_mux, OMAP_PACKAGE_CUS); | ||
487 | omap_serial_init(); | 497 | omap_serial_init(); |
488 | cm_t35_init_i2c(); | 498 | cm_t35_init_i2c(); |
489 | cm_t35_init_nand(); | 499 | cm_t35_init_nand(); |
diff --git a/arch/arm/mach-omap2/board-igep0020.c b/arch/arm/mach-omap2/board-igep0020.c index fa62e80c13b7..7e3217a18283 100644 --- a/arch/arm/mach-omap2/board-igep0020.c +++ b/arch/arm/mach-omap2/board-igep0020.c | |||
@@ -30,6 +30,7 @@ | |||
30 | #include <plat/mux.h> | 30 | #include <plat/mux.h> |
31 | #include <plat/usb.h> | 31 | #include <plat/usb.h> |
32 | 32 | ||
33 | #include "mux.h" | ||
33 | #include "mmc-twl4030.h" | 34 | #include "mmc-twl4030.h" |
34 | 35 | ||
35 | #define IGEP2_SMSC911X_CS 5 | 36 | #define IGEP2_SMSC911X_CS 5 |
@@ -203,8 +204,17 @@ static int __init igep2_i2c_init(void) | |||
203 | return 0; | 204 | return 0; |
204 | } | 205 | } |
205 | 206 | ||
207 | #ifdef CONFIG_OMAP_MUX | ||
208 | static struct omap_board_mux board_mux[] __initdata = { | ||
209 | { .reg_offset = OMAP_MUX_TERMINATOR }, | ||
210 | }; | ||
211 | #else | ||
212 | #define board_mux NULL | ||
213 | #endif | ||
214 | |||
206 | static void __init igep2_init(void) | 215 | static void __init igep2_init(void) |
207 | { | 216 | { |
217 | omap3_mux_init(board_mux, OMAP_PACKAGE_CBB); | ||
208 | igep2_i2c_init(); | 218 | igep2_i2c_init(); |
209 | omap_serial_init(); | 219 | omap_serial_init(); |
210 | usb_musb_init(); | 220 | usb_musb_init(); |
diff --git a/arch/arm/mach-omap2/board-ldp.c b/arch/arm/mach-omap2/board-ldp.c index c062238fe881..37431738f1c2 100644 --- a/arch/arm/mach-omap2/board-ldp.c +++ b/arch/arm/mach-omap2/board-ldp.c | |||
@@ -43,6 +43,7 @@ | |||
43 | #include <plat/control.h> | 43 | #include <plat/control.h> |
44 | #include <plat/usb.h> | 44 | #include <plat/usb.h> |
45 | 45 | ||
46 | #include "mux.h" | ||
46 | #include "mmc-twl4030.h" | 47 | #include "mmc-twl4030.h" |
47 | 48 | ||
48 | #define LDP_SMSC911X_CS 1 | 49 | #define LDP_SMSC911X_CS 1 |
@@ -374,8 +375,17 @@ static struct platform_device *ldp_devices[] __initdata = { | |||
374 | &ldp_gpio_keys_device, | 375 | &ldp_gpio_keys_device, |
375 | }; | 376 | }; |
376 | 377 | ||
378 | #ifdef CONFIG_OMAP_MUX | ||
379 | static struct omap_board_mux board_mux[] __initdata = { | ||
380 | { .reg_offset = OMAP_MUX_TERMINATOR }, | ||
381 | }; | ||
382 | #else | ||
383 | #define board_mux NULL | ||
384 | #endif | ||
385 | |||
377 | static void __init omap_ldp_init(void) | 386 | static void __init omap_ldp_init(void) |
378 | { | 387 | { |
388 | omap3_mux_init(board_mux, OMAP_PACKAGE_CBB); | ||
379 | omap_i2c_init(); | 389 | omap_i2c_init(); |
380 | platform_add_devices(ldp_devices, ARRAY_SIZE(ldp_devices)); | 390 | platform_add_devices(ldp_devices, ARRAY_SIZE(ldp_devices)); |
381 | ts_gpio = 54; | 391 | ts_gpio = 54; |
diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c index 41480bd0e58a..e669dbb23b7e 100644 --- a/arch/arm/mach-omap2/board-omap3beagle.c +++ b/arch/arm/mach-omap2/board-omap3beagle.c | |||
@@ -45,6 +45,7 @@ | |||
45 | #include <plat/usb.h> | 45 | #include <plat/usb.h> |
46 | #include <plat/timer-gp.h> | 46 | #include <plat/timer-gp.h> |
47 | 47 | ||
48 | #include "mux.h" | ||
48 | #include "mmc-twl4030.h" | 49 | #include "mmc-twl4030.h" |
49 | 50 | ||
50 | #define GPMC_CS0_BASE 0x60 | 51 | #define GPMC_CS0_BASE 0x60 |
@@ -422,8 +423,17 @@ static struct ehci_hcd_omap_platform_data ehci_pdata __initconst = { | |||
422 | .reset_gpio_port[2] = -EINVAL | 423 | .reset_gpio_port[2] = -EINVAL |
423 | }; | 424 | }; |
424 | 425 | ||
426 | #ifdef CONFIG_OMAP_MUX | ||
427 | static struct omap_board_mux board_mux[] __initdata = { | ||
428 | { .reg_offset = OMAP_MUX_TERMINATOR }, | ||
429 | }; | ||
430 | #else | ||
431 | #define board_mux NULL | ||
432 | #endif | ||
433 | |||
425 | static void __init omap3_beagle_init(void) | 434 | static void __init omap3_beagle_init(void) |
426 | { | 435 | { |
436 | omap3_mux_init(board_mux, OMAP_PACKAGE_CBB); | ||
427 | omap3_beagle_i2c_init(); | 437 | omap3_beagle_i2c_init(); |
428 | platform_add_devices(omap3_beagle_devices, | 438 | platform_add_devices(omap3_beagle_devices, |
429 | ARRAY_SIZE(omap3_beagle_devices)); | 439 | ARRAY_SIZE(omap3_beagle_devices)); |
diff --git a/arch/arm/mach-omap2/board-omap3evm.c b/arch/arm/mach-omap2/board-omap3evm.c index 5efc2e9068db..ad174aeb6101 100644 --- a/arch/arm/mach-omap2/board-omap3evm.c +++ b/arch/arm/mach-omap2/board-omap3evm.c | |||
@@ -43,6 +43,7 @@ | |||
43 | #include <plat/common.h> | 43 | #include <plat/common.h> |
44 | #include <plat/mcspi.h> | 44 | #include <plat/mcspi.h> |
45 | 45 | ||
46 | #include "mux.h" | ||
46 | #include "sdram-micron-mt46h32m32lf-6.h" | 47 | #include "sdram-micron-mt46h32m32lf-6.h" |
47 | #include "mmc-twl4030.h" | 48 | #include "mmc-twl4030.h" |
48 | 49 | ||
@@ -422,9 +423,18 @@ static struct ehci_hcd_omap_platform_data ehci_pdata __initconst = { | |||
422 | .reset_gpio_port[2] = -EINVAL | 423 | .reset_gpio_port[2] = -EINVAL |
423 | }; | 424 | }; |
424 | 425 | ||
426 | #ifdef CONFIG_OMAP_MUX | ||
427 | static struct omap_board_mux board_mux[] __initdata = { | ||
428 | { .reg_offset = OMAP_MUX_TERMINATOR }, | ||
429 | }; | ||
430 | #else | ||
431 | #define board_mux NULL | ||
432 | #endif | ||
433 | |||
425 | static void __init omap3_evm_init(void) | 434 | static void __init omap3_evm_init(void) |
426 | { | 435 | { |
427 | omap3_evm_get_revision(); | 436 | omap3_evm_get_revision(); |
437 | omap3_mux_init(board_mux, OMAP_PACKAGE_CBB); | ||
428 | 438 | ||
429 | omap3_evm_i2c_init(); | 439 | omap3_evm_i2c_init(); |
430 | 440 | ||
diff --git a/arch/arm/mach-omap2/board-omap3pandora.c b/arch/arm/mach-omap2/board-omap3pandora.c index 2db5ba5b3bf7..9f59c03d7808 100644 --- a/arch/arm/mach-omap2/board-omap3pandora.c +++ b/arch/arm/mach-omap2/board-omap3pandora.c | |||
@@ -42,6 +42,7 @@ | |||
42 | #include <plat/usb.h> | 42 | #include <plat/usb.h> |
43 | #include <plat/mux.h> | 43 | #include <plat/mux.h> |
44 | 44 | ||
45 | #include "mux.h" | ||
45 | #include "sdram-micron-mt46h32m32lf-6.h" | 46 | #include "sdram-micron-mt46h32m32lf-6.h" |
46 | #include "mmc-twl4030.h" | 47 | #include "mmc-twl4030.h" |
47 | 48 | ||
@@ -409,8 +410,17 @@ static struct ehci_hcd_omap_platform_data ehci_pdata __initconst = { | |||
409 | .reset_gpio_port[2] = -EINVAL | 410 | .reset_gpio_port[2] = -EINVAL |
410 | }; | 411 | }; |
411 | 412 | ||
413 | #ifdef CONFIG_OMAP_MUX | ||
414 | static struct omap_board_mux board_mux[] __initdata = { | ||
415 | { .reg_offset = OMAP_MUX_TERMINATOR }, | ||
416 | }; | ||
417 | #else | ||
418 | #define board_mux NULL | ||
419 | #endif | ||
420 | |||
412 | static void __init omap3pandora_init(void) | 421 | static void __init omap3pandora_init(void) |
413 | { | 422 | { |
423 | omap3_mux_init(board_mux, OMAP_PACKAGE_CBB); | ||
414 | omap3pandora_i2c_init(); | 424 | omap3pandora_i2c_init(); |
415 | platform_add_devices(omap3pandora_devices, | 425 | platform_add_devices(omap3pandora_devices, |
416 | ARRAY_SIZE(omap3pandora_devices)); | 426 | ARRAY_SIZE(omap3pandora_devices)); |
diff --git a/arch/arm/mach-omap2/board-overo.c b/arch/arm/mach-omap2/board-overo.c index 52dfd51a938e..40f3c85cba30 100644 --- a/arch/arm/mach-omap2/board-overo.c +++ b/arch/arm/mach-omap2/board-overo.c | |||
@@ -47,6 +47,7 @@ | |||
47 | #include <plat/mux.h> | 47 | #include <plat/mux.h> |
48 | #include <plat/usb.h> | 48 | #include <plat/usb.h> |
49 | 49 | ||
50 | #include "mux.h" | ||
50 | #include "sdram-micron-mt46h32m32lf-6.h" | 51 | #include "sdram-micron-mt46h32m32lf-6.h" |
51 | #include "mmc-twl4030.h" | 52 | #include "mmc-twl4030.h" |
52 | 53 | ||
@@ -405,9 +406,17 @@ static struct ehci_hcd_omap_platform_data ehci_pdata __initconst = { | |||
405 | .reset_gpio_port[2] = -EINVAL | 406 | .reset_gpio_port[2] = -EINVAL |
406 | }; | 407 | }; |
407 | 408 | ||
409 | #ifdef CONFIG_OMAP_MUX | ||
410 | static struct omap_board_mux board_mux[] __initdata = { | ||
411 | { .reg_offset = OMAP_MUX_TERMINATOR }, | ||
412 | }; | ||
413 | #else | ||
414 | #define board_mux NULL | ||
415 | #endif | ||
408 | 416 | ||
409 | static void __init overo_init(void) | 417 | static void __init overo_init(void) |
410 | { | 418 | { |
419 | omap3_mux_init(board_mux, OMAP_PACKAGE_CBB); | ||
411 | overo_i2c_init(); | 420 | overo_i2c_init(); |
412 | platform_add_devices(overo_devices, ARRAY_SIZE(overo_devices)); | 421 | platform_add_devices(overo_devices, ARRAY_SIZE(overo_devices)); |
413 | omap_serial_init(); | 422 | omap_serial_init(); |
diff --git a/arch/arm/mach-omap2/board-rx51.c b/arch/arm/mach-omap2/board-rx51.c index 1bb1de245917..c0c99adc4320 100644 --- a/arch/arm/mach-omap2/board-rx51.c +++ b/arch/arm/mach-omap2/board-rx51.c | |||
@@ -30,6 +30,8 @@ | |||
30 | #include <plat/gpmc.h> | 30 | #include <plat/gpmc.h> |
31 | #include <plat/usb.h> | 31 | #include <plat/usb.h> |
32 | 32 | ||
33 | #include "mux.h" | ||
34 | |||
33 | struct omap_sdrc_params *rx51_get_sdram_timings(void); | 35 | struct omap_sdrc_params *rx51_get_sdram_timings(void); |
34 | 36 | ||
35 | static struct omap_lcd_config rx51_lcd_config = { | 37 | static struct omap_lcd_config rx51_lcd_config = { |
@@ -69,8 +71,17 @@ static void __init rx51_init_irq(void) | |||
69 | 71 | ||
70 | extern void __init rx51_peripherals_init(void); | 72 | extern void __init rx51_peripherals_init(void); |
71 | 73 | ||
74 | #ifdef CONFIG_OMAP_MUX | ||
75 | static struct omap_board_mux board_mux[] __initdata = { | ||
76 | { .reg_offset = OMAP_MUX_TERMINATOR }, | ||
77 | }; | ||
78 | #else | ||
79 | #define board_mux NULL | ||
80 | #endif | ||
81 | |||
72 | static void __init rx51_init(void) | 82 | static void __init rx51_init(void) |
73 | { | 83 | { |
84 | omap3_mux_init(board_mux, OMAP_PACKAGE_CBB); | ||
74 | omap_serial_init(); | 85 | omap_serial_init(); |
75 | usb_musb_init(); | 86 | usb_musb_init(); |
76 | rx51_peripherals_init(); | 87 | rx51_peripherals_init(); |
diff --git a/arch/arm/mach-omap2/board-zoom2.c b/arch/arm/mach-omap2/board-zoom2.c index d94d047c7dce..bb87cf7878ff 100644 --- a/arch/arm/mach-omap2/board-zoom2.c +++ b/arch/arm/mach-omap2/board-zoom2.c | |||
@@ -23,6 +23,7 @@ | |||
23 | 23 | ||
24 | #include <mach/board-zoom.h> | 24 | #include <mach/board-zoom.h> |
25 | 25 | ||
26 | #include "mux.h" | ||
26 | #include "sdram-micron-mt46h32m32lf-6.h" | 27 | #include "sdram-micron-mt46h32m32lf-6.h" |
27 | 28 | ||
28 | static void __init omap_zoom2_init_irq(void) | 29 | static void __init omap_zoom2_init_irq(void) |
@@ -68,8 +69,17 @@ static struct twl4030_platform_data zoom2_twldata = { | |||
68 | 69 | ||
69 | #endif | 70 | #endif |
70 | 71 | ||
72 | #ifdef CONFIG_OMAP_MUX | ||
73 | static struct omap_board_mux board_mux[] __initdata = { | ||
74 | { .reg_offset = OMAP_MUX_TERMINATOR }, | ||
75 | }; | ||
76 | #else | ||
77 | #define board_mux NULL | ||
78 | #endif | ||
79 | |||
71 | static void __init omap_zoom2_init(void) | 80 | static void __init omap_zoom2_init(void) |
72 | { | 81 | { |
82 | omap3_mux_init(board_mux, OMAP_PACKAGE_CBB); | ||
73 | zoom_peripherals_init(); | 83 | zoom_peripherals_init(); |
74 | zoom_debugboard_init(); | 84 | zoom_debugboard_init(); |
75 | } | 85 | } |