From: Kevin Hilman Date: Mon, 9 May 2005 21:03:35 +0000 (-0700) Subject: ARM: OMAP: Boot 730 without a bootloader X-Git-Tag: v2.6.13-omap1~179 X-Git-Url: http://www.pilppa.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=99dd30daee17eed0077b2fd97feb3cdc71900c78;p=linux-2.6-omap-h63xx.git ARM: OMAP: Boot 730 without a bootloader Boots 730 without a bootloader Signed-off-by: Kevin Hilman Signed-off-by: Tony Lindgren --- diff --git a/arch/arm/boot/compressed/Makefile b/arch/arm/boot/compressed/Makefile index 6b505ce41a7..f9b05d80a08 100644 --- a/arch/arm/boot/compressed/Makefile +++ b/arch/arm/boot/compressed/Makefile @@ -51,7 +51,11 @@ OBJS += head-sharpsl.o endif ifeq ($(CONFIG_DEBUG_ICEDCC),y) -OBJS += ice-dcc.o +OBJS += ice-dcc.o +endif + +ifeq ($(CONFIG_MACH_OMAP_PERSEUS2),y) +OBJS += head-omap.o endif ifeq ($(CONFIG_CPU_BIG_ENDIAN),y) diff --git a/arch/arm/boot/compressed/head-omap.S b/arch/arm/boot/compressed/head-omap.S new file mode 100644 index 00000000000..440e9a5edd3 --- /dev/null +++ b/arch/arm/boot/compressed/head-omap.S @@ -0,0 +1,19 @@ +/* + * linux/arch/arm/boot/compressed/head-omap.S + * + * OMAP specific tweaks. This is merged into head.S by the linker. + * + */ + +#include +#include +#include + + .section ".start", "ax" + +__OMAP_start: +#ifdef CONFIG_MACH_OMAP_PERSEUS2 + /* support for booting without u-boot */ + mov r7, #(MACH_TYPE_OMAP_PERSEUS2 & ~0xf) + orr r7, r7, #(MACH_TYPE_OMAP_PERSEUS2 & 0xf) +#endif