Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/marvell Add support for Dreamplug CPU clock spe...



details:   https://anonhg.NetBSD.org/src/rev/7260779719d4
branches:  trunk
changeset: 765230:7260779719d4
user:      mellon <mellon%NetBSD.org@localhost>
date:      Sun May 22 21:52:25 2011 +0000

description:
Add support for Dreamplug CPU clock speed detection.

diffstat:

 sys/arch/arm/marvell/kirkwood.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 3dba369c57bc -r 7260779719d4 sys/arch/arm/marvell/kirkwood.c
--- a/sys/arch/arm/marvell/kirkwood.c   Sun May 22 21:51:39 2011 +0000
+++ b/sys/arch/arm/marvell/kirkwood.c   Sun May 22 21:52:25 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kirkwood.c,v 1.2 2010/10/30 06:37:49 kiyohara Exp $    */
+/*     $NetBSD: kirkwood.c,v 1.3 2011/05/22 21:52:25 mellon Exp $      */
 /*
  * Copyright (c) 2010 KIYOHARA Takashi
  * All rights reserved.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kirkwood.c,v 1.2 2010/10/30 06:37:49 kiyohara Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kirkwood.c,v 1.3 2011/05/22 21:52:25 mellon Exp $");
 
 #define _INTR_PRIVATE
 
@@ -274,6 +274,7 @@
                case 0x0040000a: mvPclk = 1000 MHz; break;
                case 0x00000012: mvPclk = 1200 MHz; break;
                case 0x00000018: mvPclk = 1200 MHz; break;
+               case 0x00000002: mvPclk = 1200 MHz; break;
                default:
                        panic("unknown mvPclk\n");
                }



Home | Main Index | Thread Index | Old Index