diff options
author | imp <imp@FreeBSD.org> | 2007-09-16 07:51:02 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2007-09-16 07:51:02 +0000 |
commit | cf6bc93f9bf5ec043116c9c88f0dfa846078772c (patch) | |
tree | 196a9ff0639950565e4fb4a800dd734adbba2e1e /sys/arm/at91/at91_pmc.c | |
parent | 3bac12ad892c982009ef7de141af1bfbf52eae2b (diff) | |
download | FreeBSD-src-cf6bc93f9bf5ec043116c9c88f0dfa846078772c.zip FreeBSD-src-cf6bc93f9bf5ec043116c9c88f0dfa846078772c.tar.gz |
Kill bogus printf debugs.
Approved by: re@ (blanket)
Diffstat (limited to 'sys/arm/at91/at91_pmc.c')
-rw-r--r-- | sys/arm/at91/at91_pmc.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/sys/arm/at91/at91_pmc.c b/sys/arm/at91/at91_pmc.c index 270d48f..0bc27d8 100644 --- a/sys/arm/at91/at91_pmc.c +++ b/sys/arm/at91/at91_pmc.c @@ -162,7 +162,6 @@ at91_pmc_set_pllb_mode(struct at91_pmc_clock *clk, int on) struct at91_pmc_softc *sc = pmc_softc; uint32_t value; - printf("Turning PLLB %#x %s\n", sc->pllb_init, on ? "on" : "off"); if (on) { on = PMC_IER_LOCKB; value = sc->pllb_init; @@ -172,7 +171,6 @@ at91_pmc_set_pllb_mode(struct at91_pmc_clock *clk, int on) WR4(sc, CKGR_PLLBR, value); while ((RD4(sc, PMC_SR) & PMC_IER_LOCKB) != on) continue; - printf("Done!\n"); } static void @@ -180,7 +178,6 @@ at91_pmc_set_sys_mode(struct at91_pmc_clock *clk, int on) { struct at91_pmc_softc *sc = pmc_softc; - printf("Turning SC %#x %s\n", clk->pmc_mask, on ? "on" : "off"); WR4(sc, on ? PMC_SCER : PMC_SCDR, clk->pmc_mask); if (on) while ((RD4(sc, PMC_SCSR) & clk->pmc_mask) != clk->pmc_mask) @@ -188,7 +185,6 @@ at91_pmc_set_sys_mode(struct at91_pmc_clock *clk, int on) else while ((RD4(sc, PMC_SCSR) & clk->pmc_mask) == clk->pmc_mask) continue; - printf("Done SCSR is now: %#x!\n", RD4(sc, PMC_SCSR)); } static void @@ -196,7 +192,6 @@ at91_pmc_set_periph_mode(struct at91_pmc_clock *clk, int on) { struct at91_pmc_softc *sc = pmc_softc; - printf("Turning PC %#x %s\n", clk->pmc_mask, on ? "on" : "off"); WR4(sc, on ? PMC_PCER : PMC_PCDR, clk->pmc_mask); if (on) while ((RD4(sc, PMC_PCSR) & clk->pmc_mask) != clk->pmc_mask) @@ -204,7 +199,6 @@ at91_pmc_set_periph_mode(struct at91_pmc_clock *clk, int on) else while ((RD4(sc, PMC_PCSR) & clk->pmc_mask) == clk->pmc_mask) continue; - printf("Done PCSR is now: %#x!\n", RD4(sc, PMC_PCSR)); } struct at91_pmc_clock * @@ -228,7 +222,6 @@ void at91_pmc_clock_enable(struct at91_pmc_clock *clk) { /* XXX LOCKING? XXX */ - printf("Enable %s\n", clk->name); if (clk->parent) at91_pmc_clock_enable(clk->parent); if (clk->refcnt++ == 0 && clk->set_mode) |