aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorBenoit Cousson <b-cousson@ti.com>2010-08-10 11:43:15 -0400
committerBenoit Cousson <b-cousson@ti.com>2010-11-17 06:01:51 -0500
commitfb6bf6320e33af5bd6ac788f27245f9162bc5215 (patch)
tree35590c573745e46bb46b9f7ef1329421a69b8aa3 /arch
parenta041a52c4d2b82e25de2267bce5f4dc3d2179b2a (diff)
OMAP4: sdp4430: Select CBL package for ES1 and initialize mux
Select the CBL package if SDP4430 is enabled during config. Initialize the mux framework during the board init. Signed-off-by: Benoit Cousson <b-cousson@ti.com> Cc: Tony Lindgren <tony@atomide.com> Cc: Paul Walmsley <paul@pwsan.com> Cc: Kevin Hilman <khilman@deeprootsystems.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-omap2/Kconfig1
-rw-r--r--arch/arm/mach-omap2/board-4430sdp.c10
2 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig
index e14c73d81997..7efb256819a0 100644
--- a/arch/arm/mach-omap2/Kconfig
+++ b/arch/arm/mach-omap2/Kconfig
@@ -280,6 +280,7 @@ config MACH_OMAP_4430SDP
280 bool "OMAP 4430 SDP board" 280 bool "OMAP 4430 SDP board"
281 default y 281 default y
282 depends on ARCH_OMAP4 282 depends on ARCH_OMAP4
283 select OMAP_PACKAGE_CBL
283 284
284config MACH_OMAP4_PANDA 285config MACH_OMAP4_PANDA
285 bool "OMAP4 Panda Board" 286 bool "OMAP4 Panda Board"
diff --git a/arch/arm/mach-omap2/board-4430sdp.c b/arch/arm/mach-omap2/board-4430sdp.c
index df5a425a49d1..e4f1726e6669 100644
--- a/arch/arm/mach-omap2/board-4430sdp.c
+++ b/arch/arm/mach-omap2/board-4430sdp.c
@@ -35,6 +35,7 @@
35#include <plat/usb.h> 35#include <plat/usb.h>
36#include <plat/mmc.h> 36#include <plat/mmc.h>
37 37
38#include "mux.h"
38#include "hsmmc.h" 39#include "hsmmc.h"
39#include "timer-gp.h" 40#include "timer-gp.h"
40#include "control.h" 41#include "control.h"
@@ -505,10 +506,19 @@ static void __init omap_sfh7741prox_init(void)
505 } 506 }
506} 507}
507 508
509#ifdef CONFIG_OMAP_MUX
510static struct omap_board_mux board_mux[] __initdata = {
511 { .reg_offset = OMAP_MUX_TERMINATOR },
512};
513#else
514#define board_mux NULL
515#endif
516
508static void __init omap_4430sdp_init(void) 517static void __init omap_4430sdp_init(void)
509{ 518{
510 int status; 519 int status;
511 520
521 omap4_mux_init(board_mux, OMAP_PACKAGE_CBL);
512 omap4_i2c_init(); 522 omap4_i2c_init();
513 omap_sfh7741prox_init(); 523 omap_sfh7741prox_init();
514 platform_add_devices(sdp4430_devices, ARRAY_SIZE(sdp4430_devices)); 524 platform_add_devices(sdp4430_devices, ARRAY_SIZE(sdp4430_devices));