Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Jul 2006 00:18:23 GMT
From:      Olivier Houchard <cognet@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 101892 for review
Message-ID:  <200607190018.k6J0IN6g047394@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=101892

Change 101892 by cognet@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200607190018.k6J0IN6g047394>