Print this page
bcm2835: move strict alignment check disable code into the loader
Since the loader wants to muck with alignment related bits of the SCTLR
anyway, it should set both A and U to the desired values (0 and 1
respectively).

*** 95,109 **** mov r4, #1 lsl r4, r4, #13 orr r3, r3, r4 mcr p15, 0, r3, c1, c0, 0 - /* Disable A (disables strict alignment checks) */ - mrc p15, 0, r3, c1, c0, 0 - bic r3, r3, #2 - mcr p15, 0, r3, c1, c0, 0 - /* Enable access to p10 and p11 (privileged mode only) */ mrc p15, 0, r0, c1, c0, 2 orr r0, #0x00500000 mcr p15, 0, r0, c1, c0, 2 --- 95,104 ----