diff options
author | Brandon Mercer <bmercer@cvs.openbsd.org> | 2013-05-21 16:47:55 +0000 |
---|---|---|
committer | Brandon Mercer <bmercer@cvs.openbsd.org> | 2013-05-21 16:47:55 +0000 |
commit | cbc53c35caab057694a0c6d8f8eae0404ec123a5 (patch) | |
tree | 34d06306e07d85ecad4fbc988aaec9d9b6aae4bb /sys/arch/beagle | |
parent | 1a3f870bcf0a34ba27b0a79013eca1dbe8bf6992 (diff) |
Small code clean up. Removing noisy printfs.
Diffstat (limited to 'sys/arch/beagle')
-rw-r--r-- | sys/arch/beagle/dev/prcm.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/arch/beagle/dev/prcm.c b/sys/arch/beagle/dev/prcm.c index f32c1d5ceee..667dd6fdf18 100644 --- a/sys/arch/beagle/dev/prcm.c +++ b/sys/arch/beagle/dev/prcm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: prcm.c,v 1.11 2013/05/14 12:01:17 rapha Exp $ */ +/* $OpenBSD: prcm.c,v 1.12 2013/05/21 16:47:54 bmercer Exp $ */ /* * Copyright (c) 2007,2009 Dale Rahn <drahn@openbsd.org> * @@ -181,14 +181,12 @@ prcm_v3_setclock(struct prcm_softc *sc, int clock, int speed) oreg = bus_space_read_4(sc->sc_iot, sc->sc_ioh, CM_CLKSEL_WKUP); mask = 1; reg = (oreg &~mask) | (speed & mask); - printf("%s: old %08x new %08x", __func__, oreg, reg); bus_space_write_4(sc->sc_iot, sc->sc_ioh, CM_CLKSEL_WKUP, reg); } else if (clock >= 2 && clock <= 9) { int shift = (clock-2); oreg = bus_space_read_4(sc->sc_iot, sc->sc_ioh, CM_CLKSEL_PER); mask = 1 << (shift); reg = (oreg & ~mask) | ( (speed << shift) & mask); - printf("%s: old %08x new %08x", __func__, oreg, reg); bus_space_write_4(sc->sc_iot, sc->sc_ioh, CM_CLKSEL_PER, reg); } else panic("%s: invalid clock %d", __func__, clock); |