linux-igep: Add common 2.6 Linux Kernel for all IGEP based platforms.
Signed-off-by: Enric Balletbo i Serra <eballetbo@gmail.com>
This commit is contained in:
parent
f594a1145e
commit
a367934c68
36
meta/packages/linux/linux-igep-2.6.33.5/0001-omap3-init-MUX-for-OMAP3-IGEP-module.patch
vendored
Normal file
36
meta/packages/linux/linux-igep-2.6.33.5/0001-omap3-init-MUX-for-OMAP3-IGEP-module.patch
vendored
Normal file
|
@ -0,0 +1,36 @@
|
|||
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
|
||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,30 @@
|
|||
DESCRIPTION = "2.6 Linux Kernel for IGEP based platforms"
|
||||
SECTION = "kernel"
|
||||
LICENSE = "GPL"
|
||||
|
||||
DEFAULT_PREFERENCE = "-1"
|
||||
DEFAULT_PREFERENCE_igep0020 = "1"
|
||||
DEFAULT_PREFERENCE_igep0030 = "1"
|
||||
|
||||
COMPATIBLE_MACHINE = "(igep0020|igep0030)"
|
||||
|
||||
inherit kernel
|
||||
|
||||
KV = "${PV}-0"
|
||||
|
||||
SRC_URI = "http://downloads.igep.es/sources/linux-omap-${KV}.tar.gz \
|
||||
file://0001-omap3-init-MUX-for-OMAP3-IGEP-module.patch;patch=1 \
|
||||
file://defconfig-igep0020 \
|
||||
file://defconfig-igep0030"
|
||||
|
||||
do_configure() {
|
||||
|
||||
rm -f ${S}/.config || true
|
||||
|
||||
cp ${WORKDIR}/defconfig-${MACHINE} ${S}/.config
|
||||
|
||||
yes '' | oe_runmake oldconfig
|
||||
|
||||
}
|
||||
|
||||
S = "${WORKDIR}/linux-omap-${KV}"
|
Loading…
Reference in New Issue