diff options
Diffstat (limited to 'meta/recipes-kernel/linux/linux-rp-2.6.26/zylonite-boot.patch')
-rw-r--r-- | meta/recipes-kernel/linux/linux-rp-2.6.26/zylonite-boot.patch | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/meta/recipes-kernel/linux/linux-rp-2.6.26/zylonite-boot.patch b/meta/recipes-kernel/linux/linux-rp-2.6.26/zylonite-boot.patch new file mode 100644 index 0000000000..f41928eca5 --- /dev/null +++ b/meta/recipes-kernel/linux/linux-rp-2.6.26/zylonite-boot.patch | |||
@@ -0,0 +1,45 @@ | |||
1 | From 04c42f566c68b757fdadf54e0e0f9dfe9f3f9b06 Mon Sep 17 00:00:00 2001 | ||
2 | From: eric miao <eric.miao@marvell.com> | ||
3 | Date: Tue, 19 Jun 2007 16:42:53 +0800 | ||
4 | Subject: [PATCH] [PATCH] make zylonite boot | ||
5 | |||
6 | 1. reuse head-xscale.S for XSC3 | ||
7 | |||
8 | 2. add a workaround for machine ID assignment, which should be done | ||
9 | by boot loader | ||
10 | --- | ||
11 | arch/arm/boot/compressed/Makefile | 4 ++++ | ||
12 | arch/arm/boot/compressed/head-xscale.S | 5 +++++ | ||
13 | 2 files changed, 9 insertions(+) | ||
14 | |||
15 | Index: linux-2.6-pxa3/arch/arm/boot/compressed/Makefile | ||
16 | =================================================================== | ||
17 | --- linux-2.6-pxa3.orig/arch/arm/boot/compressed/Makefile 2007-09-24 11:25:57.000000000 +0200 | ||
18 | +++ linux-2.6-pxa3/arch/arm/boot/compressed/Makefile 2007-09-24 12:26:53.000000000 +0200 | ||
19 | @@ -40,6 +40,10 @@ | ||
20 | OBJS += head-xscale.o | ||
21 | endif | ||
22 | |||
23 | +ifeq ($(CONFIG_CPU_XSC3),y) | ||
24 | +OBJS += head-xscale.o | ||
25 | +endif | ||
26 | + | ||
27 | ifeq ($(CONFIG_PXA_SHARPSL),y) | ||
28 | OBJS += head-sharpsl.o | ||
29 | endif | ||
30 | Index: linux-2.6-pxa3/arch/arm/boot/compressed/head-xscale.S | ||
31 | =================================================================== | ||
32 | --- linux-2.6-pxa3.orig/arch/arm/boot/compressed/head-xscale.S 2007-09-24 11:42:27.000000000 +0200 | ||
33 | +++ linux-2.6-pxa3/arch/arm/boot/compressed/head-xscale.S 2007-09-24 12:26:02.000000000 +0200 | ||
34 | @@ -33,6 +33,11 @@ | ||
35 | bic r0, r0, #0x1000 @ clear Icache | ||
36 | mcr p15, 0, r0, c1, c0, 0 | ||
37 | |||
38 | +#ifdef CONFIG_MACH_ZYLONITE | ||
39 | + mov r7, #(MACH_TYPE_ZYLONITE & 0xff) | ||
40 | + orr r7, r7, #(MACH_TYPE_ZYLONITE & 0xff00) | ||
41 | +#endif | ||
42 | + | ||
43 | #ifdef CONFIG_ARCH_COTULLA_IDP | ||
44 | mov r7, #MACH_TYPE_COTULLA_IDP | ||
45 | #endif | ||