--- 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 +#include + + .section ".start", "ax" + +__MX3_start: +#ifdef CONFIG_MACH_MX31LITE + mov r7, #(MACH_TYPE_MX31LITE & 0xff) + orr r7, r7, #(MACH_TYPE_MX31LITE & 0xff00) +#endif