Skip to content

Commit

Permalink
smdk5410: Remove switch from NS HYP to NS SVC to allow booting in HYP…
Browse files Browse the repository at this point in the history
… mode.
  • Loading branch information
FiachAntaw committed Feb 27, 2014
1 parent 7f1aa20 commit 56e5bdc
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions board/samsung/smdk5410/lowlevel_init.S
Expand Up @@ -334,13 +334,6 @@ _gic_state:
mrs r4, cpsr
msr spsr_cxsf, r4

bic r6, r4, #0x1f
orr r6, r6, #0x13
msr spsr_cxsf, r6 /* Setup SPSR to jump to NS SVC mode */
add r4, pc, #4
.word 0xe12ef304 /* msr elr_hyp, r4 */
.word 0xe160006e /* ERET */
ns_svc_entry:
tst r10, #SWITCH
adrne r0, _switch_addr
bne wait_for_addr
Expand Down

0 comments on commit 56e5bdc

Please sign in to comment.