linux-2.6.25: add cm-x270 support
[openembedded.git] / packages / linux / linux-2.6.25 / cm-x270 / 0001-cm-x270-match-type.patch
blobce4271a9ab8c7008bc4175b32859ad8a0234e2ef
1 From b14fd99c45da2130e9a59917c8f9e9bc10941031 Mon Sep 17 00:00:00 2001
2 From: Cliff Brake <cbrake@happy.dev.bec-systems.com>
3 Date: Fri, 20 Jul 2007 18:58:27 -0400
4 Subject: [PATCH] cm-x270-match-type
6 ---
7 arch/arm/boot/compressed/head-xscale.S | 5 +++++
8 1 files changed, 5 insertions(+), 0 deletions(-)
10 diff --git a/arch/arm/boot/compressed/head-xscale.S b/arch/arm/boot/compressed/head-xscale.S
11 index 67ea99e..2e63ba2 100644
12 --- a/arch/arm/boot/compressed/head-xscale.S
13 +++ b/arch/arm/boot/compressed/head-xscale.S
14 @@ -44,3 +44,8 @@ __XScale_start:
15 str r1, [r0, #0x18]
16 #endif
18 +#if defined(CONFIG_MACH_ARMCORE)
19 + mov r7, #(MACH_TYPE_ARMCORE & 0xFF00)
20 + add r7, r7, #(MACH_TYPE_ARMCORE & 0xFF)
21 +#endif
23 --
24 1.5.4.rc4