[msm8960]: Initial support for MSM8960.
What is working in this patch:
- Fastboot flash boot.img on to eMMC
- Fastboot boot
- Boot boot.img from eMMC
Not in this patch:
- Clock settings are not done in LK. Expects
startup scripts to setup the required
clocks.
Change-Id: I230bb92c6b214976a84a79a7f770f190e822f647
diff --git a/arch/arm/crt0.S b/arch/arm/crt0.S
index cb6e552..68dbc67 100644
--- a/arch/arm/crt0.S
+++ b/arch/arm/crt0.S
@@ -44,6 +44,7 @@
#endif
/* do some cpu setup */
#if ARM_WITH_CP15
+ /* Read SCTLR */
mrc p15, 0, r0, c1, c0, 0
/* XXX this is currently for arm926, revist with armv6 cores */
/* new thumb behavior, low exception vectors, i/d cache disable, mmu disabled */
@@ -51,6 +52,7 @@
bic r0, r0, #(1<<2 | 1<<0)
/* enable alignment faults */
orr r0, r0, #(1<<1)
+ /* Write SCTLR */
mcr p15, 0, r0, c1, c0, 0
#ifdef ENABLE_TRUSTZONE
/*nkazi: not needed ? Setting VBAR to location of new vector table : 0x80000 */