Ooops, I removed the wrong bits.

This unbreak boot from a VA which is different from the PA.
This commit is contained in:
Olivier Houchard 2005-12-21 15:02:31 +00:00
parent e279681cb5
commit 3ff539810b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=153616

View File

@ -103,6 +103,9 @@ Lcopy_size: .word _edata-_C_LABEL(_start)
Lstart_off: .word start_inram-_C_LABEL(_start)
start_inram:
adr r7, Lunmapped
bic r7, r7, #0xff000000
orr r7, r7, #PHYSADDR
/* Disable MMU for a while */
mrc p15, 0, r2, c1, c0, 0
@ -122,8 +125,6 @@ Lunmapped:
/* build page table from scratch */
ldr r0, Lstartup_pagetable
adr r4, mmu_init_table
bic r4, r4, #0xff000000
orr r4, r4, #PHYSADDR
b 3f
2: