Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/evbarm/rpi Oops, put back the initialisation of cpu...



details:   https://anonhg.NetBSD.org/src/rev/b2c221f317a9
branches:  trunk
changeset: 784647:b2c221f317a9
user:      skrll <skrll%NetBSD.org@localhost>
date:      Mon Feb 04 21:46:14 2013 +0000

description:
Oops, put back the initialisation of cpu_cc_freq

diffstat:

 sys/arch/evbarm/rpi/rpi_machdep.c |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (35 lines):

diff -r 7c2fe1130fb0 -r b2c221f317a9 sys/arch/evbarm/rpi/rpi_machdep.c
--- a/sys/arch/evbarm/rpi/rpi_machdep.c Mon Feb 04 21:43:17 2013 +0000
+++ b/sys/arch/evbarm/rpi/rpi_machdep.c Mon Feb 04 21:46:14 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rpi_machdep.c,v 1.33 2013/02/04 21:43:17 skrll Exp $   */
+/*     $NetBSD: rpi_machdep.c,v 1.34 2013/02/04 21:46:14 skrll Exp $   */
 
 /*-
  * Copyright (c) 2012 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rpi_machdep.c,v 1.33 2013/02/04 21:43:17 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rpi_machdep.c,v 1.34 2013/02/04 21:46:14 skrll Exp $");
 
 #include "opt_evbarm_boardtype.h"
 
@@ -501,13 +501,15 @@
 
        rpi_bootparams();
 
-#ifdef VERBOSE_INIT_ARM
        if (vcprop_tag_success_p(&vb.vbt_armclockrate.tag)) {
                curcpu()->ci_data.cpu_cc_freq = vb.vbt_armclockrate.rate;
+#ifdef VERBOSE_INIT_ARM
                printf("%s: arm clock   %d\n", __func__,
                    vb.vbt_armclockrate.rate);
+#endif
        }
 
+#ifdef VERBOSE_INIT_ARM
        printf("initarm: Configuring system ...\n");
 #endif
        arm32_bootmem_init(bootconfig.dram[0].address,



Home | Main Index | Thread Index | Old Index