Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/evbarm/beagle Only print CBAR on those cortex with ...



details:   https://anonhg.NetBSD.org/src/rev/26cbeb92fe3c
branches:  trunk
changeset: 787645:26cbeb92fe3c
user:      matt <matt%NetBSD.org@localhost>
date:      Thu Jun 27 14:58:55 2013 +0000

description:
Only print CBAR on those cortex with CBAR

diffstat:

 sys/arch/evbarm/beagle/beagle_machdep.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r a4f2636bfff2 -r 26cbeb92fe3c sys/arch/evbarm/beagle/beagle_machdep.c
--- a/sys/arch/evbarm/beagle/beagle_machdep.c   Thu Jun 27 14:52:58 2013 +0000
+++ b/sys/arch/evbarm/beagle/beagle_machdep.c   Thu Jun 27 14:58:55 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: beagle_machdep.c,v 1.49 2013/06/20 05:39:19 matt Exp $ */
+/*     $NetBSD: beagle_machdep.c,v 1.50 2013/06/27 14:58:55 matt Exp $ */
 
 /*
  * Machine dependent functions for kernel setup for TI OSK5912 board.
@@ -125,7 +125,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: beagle_machdep.c,v 1.49 2013/06/20 05:39:19 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: beagle_machdep.c,v 1.50 2013/06/27 14:58:55 matt Exp $");
 
 #include "opt_machdep.h"
 #include "opt_ddb.h"
@@ -506,7 +506,9 @@
        printf("initarm: Configuring system ...\n");
 #endif
 
+#if defined(CPU_CORTEXA7) || defined(CPU_CORTEXA9) || defined(CPU_CORTEXA15)
        printf("initarm: cbar=%#x\n", armreg_cbar_read());
+#endif
 
        /*
         * Set up the variables that define the availability of physical



Home | Main Index | Thread Index | Old Index