]> code.ossystems Code Review - bsp/u-boot.git/commit
net: fec_mxc: Change "error frame" message to debug level
authorFabio Estevam <fabio.estevam@nxp.com>
Sun, 15 Oct 2017 13:01:48 +0000 (11:01 -0200)
committerOtavio Salvador <otavio@ossystems.com.br>
Tue, 31 Oct 2017 16:49:03 +0000 (14:49 -0200)
commite185138df539e70e7dc9ac8fd6ca7cd435a23aea
tree95e1eaf62e9c9572215bdc48829cc72ca722f0ca
parentac9d5ea66fa9d259672e8c3767eb18aabe7c0088
net: fec_mxc: Change "error frame" message to debug level

As reported by Jonathan Gray:

"After the recent changes to add SimpleNetworkProtocol to efi_loader
when booting off mmc via an efi payload that doesn't use
SimpleNetworkProtocol U-Boot's fec_mxc driver will now display
various "error frame" messages.
....
MMC Device 1 not found
MMC Device 2 not found
MMC Device 3 not found
Scanning disks on sata...
Found 6 disks
reading efi/boot/bootarm.efi
67372 bytes read in 32 ms (2 MiB/s)
## Starting EFI application at 12000000 ...
>> OpenBSD/armv7 BOOTARM 1.0
error frame: 0x8f57ec40 0x00003d74
error frame: 0x8f57ec40 0x00007079
error frame: 0x8f57ec40 0x00006964
error frame: 0x8f57ec40 0x00006f6f
error frame: 0x8f57ec40 0x0000726f
error frame: 0x8f57ec40 0x00002074
error frame: 0x8f57ec40 0x00006f6f"

Heinrich Schuchardt explains:

"A receive FIFO overrun can be expected if network packages are not
processed.
With the network patches we check if a package is available quite often."

Move the "error frame" messages to debug level so that a clean output
log can be seen.

Reported-by: Jonathan Gray <jsg@jsg.id.au>
Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
(cherry picked from commit 41b93679fd69bbb8c335eb212a3f8aa6c9c662db)
drivers/net/fec_mxc.c