aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/linux/linux-mx31-2.6.19.2/mx31lite-boot.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-kernel/linux/linux-mx31-2.6.19.2/mx31lite-boot.patch')
-rw-r--r--meta/recipes-kernel/linux/linux-mx31-2.6.19.2/mx31lite-boot.patch42
1 files changed, 42 insertions, 0 deletions
diff --git a/meta/recipes-kernel/linux/linux-mx31-2.6.19.2/mx31lite-boot.patch b/meta/recipes-kernel/linux/linux-mx31-2.6.19.2/mx31lite-boot.patch
new file mode 100644
index 00000000000..26cf38cc84f
--- /dev/null
+++ b/meta/recipes-kernel/linux/linux-mx31-2.6.19.2/mx31lite-boot.patch
@@ -0,0 +1,42 @@
+---
+ arch/arm/boot/compressed/Makefile | 4 ++++
+ arch/arm/boot/compressed/head-mx3.S | 17 +++++++++++++++++
+ 2 files changed, 21 insertions(+)
+
+Index: linux-2.6.19.2/arch/arm/boot/compressed/Makefile
+===================================================================
+--- linux-2.6.19.2.orig/arch/arm/boot/compressed/Makefile 2007-01-10 20:10:37.000000000 +0100
++++ linux-2.6.19.2/arch/arm/boot/compressed/Makefile 2007-10-02 15:46:13.000000000 +0200
+@@ -50,6 +50,10 @@
+ OBJS += head-at91rm9200.o
+ endif
+
++ifeq ($(CONFIG_ARCH_MX3),y)
++OBJS += head-mx3.o
++endif
++
+ ifeq ($(CONFIG_CPU_BIG_ENDIAN),y)
+ ifeq ($(CONFIG_CPU_CP15),y)
+ OBJS += big-endian.o
+Index: linux-2.6.19.2/arch/arm/boot/compressed/head-mx3.S
+===================================================================
+--- /dev/null 1970-01-01 00:00:00.000000000 +0000
++++ linux-2.6.19.2/arch/arm/boot/compressed/head-mx3.S 2007-10-02 16:00:13.000000000 +0200
+@@ -0,0 +1,17 @@
++/*
++ * linux/arch/arm/boot/compressed/head-mx3.S
++ *
++ * MX3 specific hacks. This is merged into head.S by the linker.
++ *
++ */
++
++#include <linux/linkage.h>
++#include <asm/mach-types.h>
++
++ .section ".start", "ax"
++
++__MX3_start:
++#ifdef CONFIG_MACH_MX31LITE
++ mov r7, #(MACH_TYPE_MX31LITE & 0xff)
++ orr r7, r7, #(MACH_TYPE_MX31LITE & 0xff00)
++#endif