summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/arm/at91/at91_pio.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/arm/at91/at91_pio.c b/sys/arm/at91/at91_pio.c
index eabd11a..ae5f91e 100644
--- a/sys/arm/at91/at91_pio.c
+++ b/sys/arm/at91/at91_pio.c
@@ -143,9 +143,10 @@ at91_pio_attach(device_t dev)
if (err)
goto out;
- device_printf(dev, "ABSR: %#x OSR: %#x PSR:%#x ODSR: %#x\n",
- RD4(sc, PIO_ABSR), RD4(sc, PIO_OSR), RD4(sc, PIO_PSR),
- RD4(sc, PIO_ODSR));
+ if (bootverbose)
+ device_printf(dev, "ABSR: %#x OSR: %#x PSR:%#x ODSR: %#x\n",
+ RD4(sc, PIO_ABSR), RD4(sc, PIO_OSR), RD4(sc, PIO_PSR),
+ RD4(sc, PIO_ODSR));
AT91_PIO_LOCK_INIT(sc);
/*
OpenPOWER on IntegriCloud