diff options
author | imp <imp@FreeBSD.org> | 2012-06-16 04:34:46 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2012-06-16 04:34:46 +0000 |
commit | 9514ac24e935d954e138b4377854545009744481 (patch) | |
tree | dd1382756de787767af638194eaba1eab986c026 /sys/arm/at91 | |
parent | ba79261a636fe794a6c109d7917ded2a9c7a23b3 (diff) | |
download | FreeBSD-src-9514ac24e935d954e138b4377854545009744481.zip FreeBSD-src-9514ac24e935d954e138b4377854545009744481.tar.gz |
Throw this debug behind bootverbose. The information isn't all that
exciting once the initial board bring up is over.
Diffstat (limited to 'sys/arm/at91')
-rw-r--r-- | sys/arm/at91/at91_pio.c | 7 |
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); /* |