From owner-p4-projects@FreeBSD.ORG Wed Jul 19 00:18:24 2006 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 1AB0916A4E1; Wed, 19 Jul 2006 00:18:24 +0000 (UTC) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D295016A4DF for ; Wed, 19 Jul 2006 00:18:23 +0000 (UTC) (envelope-from cognet@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id A193B43D46 for ; Wed, 19 Jul 2006 00:18:23 +0000 (GMT) (envelope-from cognet@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k6J0INgi047397 for ; Wed, 19 Jul 2006 00:18:23 GMT (envelope-from cognet@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k6J0IN6g047394 for perforce@freebsd.org; Wed, 19 Jul 2006 00:18:23 GMT (envelope-from cognet@freebsd.org) Date: Wed, 19 Jul 2006 00:18:23 GMT Message-Id: <200607190018.k6J0IN6g047394@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to cognet@freebsd.org using -f From: Olivier Houchard To: Perforce Change Reviews Cc: Subject: PERFORCE change 101892 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Jul 2006 00:18:24 -0000 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