summaryrefslogtreecommitdiffstats
path: root/extras/recipes-kernel/linux/linux-omap/base/0004-omap-Beagle-detect-new-xM-revision-B.patch
diff options
context:
space:
mode:
Diffstat (limited to 'extras/recipes-kernel/linux/linux-omap/base/0004-omap-Beagle-detect-new-xM-revision-B.patch')
-rw-r--r--extras/recipes-kernel/linux/linux-omap/base/0004-omap-Beagle-detect-new-xM-revision-B.patch43
1 files changed, 43 insertions, 0 deletions
diff --git a/extras/recipes-kernel/linux/linux-omap/base/0004-omap-Beagle-detect-new-xM-revision-B.patch b/extras/recipes-kernel/linux/linux-omap/base/0004-omap-Beagle-detect-new-xM-revision-B.patch
new file mode 100644
index 00000000..43371618
--- /dev/null
+++ b/extras/recipes-kernel/linux/linux-omap/base/0004-omap-Beagle-detect-new-xM-revision-B.patch
@@ -0,0 +1,43 @@
1From 24b7a742b27ed2c05c6bc7800b0299a77af37a82 Mon Sep 17 00:00:00 2001
2From: Robert Nelson <robertcnelson@gmail.com>
3Date: Tue, 9 Nov 2010 08:34:55 -0600
4Subject: [PATCH 04/28] omap: Beagle: detect new xM revision B
5
6The xM B uses a DM3730 ES1.1 over the ES1.0 on xM A's, no other board changes.
7
8Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
9Signed-off-by: Koen Kooi <koen@beagleboard.org>
10---
11 arch/arm/mach-omap2/board-omap3beagle.c | 9 +++++++--
12 1 files changed, 7 insertions(+), 2 deletions(-)
13
14diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c
15index 2ed8040..f9fb64b 100644
16--- a/arch/arm/mach-omap2/board-omap3beagle.c
17+++ b/arch/arm/mach-omap2/board-omap3beagle.c
18@@ -58,7 +58,8 @@
19 * AXBX = GPIO173, GPIO172, GPIO171: 1 1 1
20 * C1_3 = GPIO173, GPIO172, GPIO171: 1 1 0
21 * C4 = GPIO173, GPIO172, GPIO171: 1 0 1
22- * XM = GPIO173, GPIO172, GPIO171: 0 0 0
23+ * XMA = GPIO173, GPIO172, GPIO171: 0 0 0
24+ * XMB = GPIO173, GPIO172, GPIO171: 0 0 1
25 */
26 enum {
27 OMAP3BEAGLE_BOARD_UNKN = 0,
28@@ -117,7 +118,11 @@ static void __init omap3_beagle_init_rev(void)
29 omap3_beagle_version = OMAP3BEAGLE_BOARD_C4;
30 break;
31 case 0:
32- printk(KERN_INFO "OMAP3 Beagle Rev: xM\n");
33+ printk(KERN_INFO "OMAP3 Beagle Rev: xM A\n");
34+ omap3_beagle_version = OMAP3BEAGLE_BOARD_XM;
35+ break;
36+ case 1:
37+ printk(KERN_INFO "OMAP3 Beagle Rev: xM B\n");
38 omap3_beagle_version = OMAP3BEAGLE_BOARD_XM;
39 break;
40 default:
41--
421.6.6.1
43