PERFORCE change 101892 for review
Olivier Houchard
cognet at FreeBSD.org
Wed Jul 19 00:18:24 UTC 2006
http://perforce.freebsd.org/chv.cgi?CH=101892
Change 101892 by cognet at cognet on 2006/07/19 00:18:09
Do not force big endian #ifdef CPU_XSCALE_IXP425.
This is not really wrong (well except in theory IXP425 can run in
little endian mode too), but a better macro would be __ARMEB__,
and if this bit wasn't set we wouldn't get that far anyway :-),
so there's no need to set it again.
Affected files ...
.. //depot/projects/arm/src/sys/arm/arm/locore.S#22 edit
Differences ...
==== //depot/projects/arm/src/sys/arm/arm/locore.S#22 (text+ko) ====
@@ -113,9 +113,6 @@
CPU_CONTROL_WBUF_ENABLE)
bic r2, r2, #(CPU_CONTROL_IC_ENABLE)
bic r2, r2, #(CPU_CONTROL_BPRD_ENABLE)
-#ifdef CPU_XSCALE_IXP425
- orr r2, r2, #(CPU_CONTROL_BEND_ENABLE)
-#endif
mcr p15, 0, r2, c1, c0, 0
nop
@@ -153,9 +150,6 @@
/* Enable MMU */
mrc p15, 0, r0, c1, c0, 0
orr r0, r0, #CPU_CONTROL_MMU_ENABLE
-#ifdef CPU_XSCALE_IXP425
- orr r0, r0, #CPU_CONTROL_BEND_ENABLE
-#endif
mcr p15, 0, r0, c1, c0, 0
nop
nop
More information about the p4-projects
mailing list