[U-Boot] [PATCH] phy.c: make less verbose - turn printf() into debug()
Andy Fleming
afleming at freescale.com
Fri Jul 29 23:26:44 CEST 2011
On Jul 27, 2011, at 8:22 AM, Kumar Gala wrote:
>
> On Jul 25, 2011, at 2:39 AM, Wolfgang Denk wrote:
>
>> The PHY driver was too verbose and corrupted the boot message display
>> like this:
>>
>> ...
>> Net: TSEC0 connected to Marvell 88E1111S
>> TSEC1 connected to Marvell 88E1111S
>> TSEC0, TSEC1
>> ...
>>
>> Turn printf() into debug() so we het the expected output again:
>>
>> ...
>> Net: TSEC0, TSEC1
>> ...
Hmmm.... That output is quite useful. There are a large number of situations where those messages signal to the user that their configuration is a certain way (perhaps not the one they thought). However, I'm fine with those messages not interfering with the Net: foo... printouts. Perhaps we could add a separate print in the Net code which iterates through the PHYs and prints out the information?
Andy
More information about the U-Boot
mailing list