commit | c3226113a14851f8aece42a6771e1b54c8e094ac | [log] [tgz] |
---|---|---|
author | Travis Geiselbrecht <geist@foobox.com> | Tue Sep 02 02:47:40 2008 -0700 |
committer | Travis Geiselbrecht <geist@foobox.com> | Tue Sep 02 02:47:40 2008 -0700 |
tree | 096c6125d74ffe28fd3caa7fd0daf9129f462dd1 | |
parent | bcc0773cd78166052a47a303a545522d691d2e74 [diff] [blame] |
[omap3] make the L2 init actually work
diff --git a/arch/arm/crt0.S b/arch/arm/crt0.S index 40cbf27..801e2b9 100644 --- a/arch/arm/crt0.S +++ b/arch/arm/crt0.S
@@ -45,6 +45,12 @@ mcr p15, 0, r0, c1, c0, 0 #endif +#if PLATFORM_OMAP3 + /* do an omap3 specific setup of the L2 */ + mov r12, #1 + .word 0xe1600070 +#endif + /* set up the stack for irq, fiq, abort, undefined, system/user, and lastly supervisor mode */ mrs r0, cpsr bic r0, r0, #0x1f