Skip to content

Commit

Permalink
Print the 'setting internal ...' message only with bootverbose.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rui Paulo authored and Rui Paulo committed Jun 26, 2013
1 parent 87230f6 commit 8ab18d3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion sys/arm/ti/ti_scm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 8ab18d3

Please sign in to comment.