aboutsummaryrefslogtreecommitdiffstats
path: root/packages/linux/linux-2.6.23+2.6.24-rc5/cm-x270/0001-cm-x270-match-type.patch
blob: 0124b75e4b63fa5884ab5f8105f1bc2850d78777 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From 2a3b2dd055b235eb14f7654eeef217222cdb8e00 Mon Sep 17 00:00:00 2001
From: Cliff Brake <cbrake@happy.dev.bec-systems.com>
Date: Fri, 20 Jul 2007 18:58:27 -0400
Subject: [PATCH] cm-x270-match-type

---
 arch/arm/boot/compressed/head-xscale.S |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/arch/arm/boot/compressed/head-xscale.S b/arch/arm/boot/compressed/head-xscale.S
index 67ea99e..2e63ba2 100644
--- a/arch/arm/boot/compressed/head-xscale.S
+++ b/arch/arm/boot/compressed/head-xscale.S
@@ -44,3 +44,8 @@ __XScale_start:
 		str	r1, [r0, #0x18]
 #endif
 
+#if defined(CONFIG_MACH_ARMCORE)
+		mov r7, #(MACH_TYPE_ARMCORE & 0xFF00)
+		add r7, r7, #(MACH_TYPE_ARMCORE & 0xFF)
+#endif
+
-- 
1.5.2.5