mirror of
https://git.yoctoproject.org/poky
synced 2026-09-12 15:49:36 +02:00
linux-mx31: MX31 LiteKit support.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2838 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
42
meta/packages/linux/linux-mx31-2.6.19.2/mx31lite-boot.patch
vendored
Normal file
42
meta/packages/linux/linux-mx31-2.6.19.2/mx31lite-boot.patch
vendored
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user