1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-31 16:57:10 +00:00

Print the 'setting internal ...' message only with bootverbose.

This commit is contained in:
Rui Paulo 2013-06-26 02:56:54 +00:00
parent 87230f6c4b
commit 8ab18d3034
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=252229

View File

@ -163,7 +163,9 @@ ti_scm_padconf_set_internal(struct ti_scm_softc *sc,
/* set the mux mode */
reg_val |= (uint16_t)(mode & ti_scm_dev.padconf_muxmode_mask);
printf("setting internal %x for %s\n", reg_val, muxmode);
if (bootverbose)
device_printf(sc->sc_dev, "setting internal %x for %s\n",
reg_val, muxmode);
/* write the register value (16-bit writes) */
ti_scm_write_2(sc, padconf->reg_off, reg_val);