Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/at91 switch USB port on



details:   https://anonhg.NetBSD.org/src/rev/517d97ca0e40
branches:  trunk
changeset: 770969:517d97ca0e40
user:      aymeric <aymeric%NetBSD.org@localhost>
date:      Fri Nov 04 17:21:46 2011 +0000

description:
switch USB port on

diffstat:

 sys/arch/arm/at91/at91pmc.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r b90c61f8c233 -r 517d97ca0e40 sys/arch/arm/at91/at91pmc.c
--- a/sys/arch/arm/at91/at91pmc.c       Fri Nov 04 17:20:54 2011 +0000
+++ b/sys/arch/arm/at91/at91pmc.c       Fri Nov 04 17:21:46 2011 +0000
@@ -1,5 +1,5 @@
-/*     $Id: at91pmc.c,v 1.4 2011/07/01 19:31:17 dyoung Exp $   */
-/*     $NetBSD: at91pmc.c,v 1.4 2011/07/01 19:31:17 dyoung Exp $       */
+/*     $Id: at91pmc.c,v 1.5 2011/11/04 17:21:46 aymeric Exp $  */
+/*     $NetBSD: at91pmc.c,v 1.5 2011/11/04 17:21:46 aymeric Exp $      */
 
 /*
  * Copyright (c) 2007 Embedtronics Oy
@@ -70,6 +70,8 @@
          mclk -= (mclk % 1000000U);
        }
 
+       PMCREG(PMC_PLLICPR) = PMC_PLLICPR_ICPPLLA | PMC_PLLICPR_ICPPLLB;
+
        reg = PMCREG(PMC_PLLAR); pllaclk = 0;
        if (reg & PMC_PLL_DIV) {
                pllaclk = mclk * (((reg & PMC_PLL_MUL) >> PMC_PLL_MUL_SHIFT) + 1);



Home | Main Index | Thread Index | Old Index