mirror of
https://git.yoctoproject.org/poky
synced 2026-04-30 03:32:12 +02:00
37 lines
1.1 KiB
Diff
37 lines
1.1 KiB
Diff
From 1a91088e389bd3bbf5d9ee1f3a15edd9edb84eb6 Mon Sep 17 00:00:00 2001
|
|
From: Enric Balletbo i Serra <eballetbo@iseebcn.com>
|
|
Date: Wed, 16 Jun 2010 17:41:26 +0200
|
|
Subject: [PATCH] omap3: init MUX for OMAP3 IGEP module.
|
|
|
|
Signed-off-by: Enric Balletbo i Serra <eballetbo@iseebcn.com>
|
|
---
|
|
arch/arm/mach-omap2/board-igep0030.c | 10 ++++++++++
|
|
1 files changed, 10 insertions(+), 0 deletions(-)
|
|
|
|
diff --git a/arch/arm/mach-omap2/board-igep0030.c b/arch/arm/mach-omap2/board-igep0030.c
|
|
index aa99236..425b2ec 100644
|
|
--- a/arch/arm/mach-omap2/board-igep0030.c
|
|
+++ b/arch/arm/mach-omap2/board-igep0030.c
|
|
@@ -420,8 +420,18 @@ static void __init igep3_init_wifi_bt(void)
|
|
pr_warning("IGEP: Could not obtain gpio GPIO_BT_NRESET\n");
|
|
}
|
|
|
|
+#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 igep3_init(void)
|
|
{
|
|
+ omap3_mux_init(board_mux, OMAP_PACKAGE_CBB);
|
|
+
|
|
omap_serial_init();
|
|
usb_musb_init(&musb_board_data);
|
|
usb_ehci_init(&ehci_pdata);
|
|
--
|
|
1.7.0.4
|
|
|