Commit 99dd30da authored by Kevin Hilman's avatar Kevin Hilman Committed by Tony Lindgren

ARM: OMAP: Boot 730 without a bootloader

Boots 730 without a bootloader
Signed-off-by: default avatarKevin Hilman <khilman@ti.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 8e3fb9b8
......@@ -54,6 +54,10 @@ ifeq ($(CONFIG_DEBUG_ICEDCC),y)
OBJS += ice-dcc.o
endif
ifeq ($(CONFIG_MACH_OMAP_PERSEUS2),y)
OBJS += head-omap.o
endif
ifeq ($(CONFIG_CPU_BIG_ENDIAN),y)
OBJS += big-endian.o
endif
......
/*
* linux/arch/arm/boot/compressed/head-omap.S
*
* OMAP specific tweaks. This is merged into head.S by the linker.
*
*/
#include <linux/config.h>
#include <linux/linkage.h>
#include <asm/mach-types.h>
.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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment