[U-Boot] [U-Boot, v3, 1/2] env: Don't show "Failed" error message

Tom Rini trini at konsulko.com
Sat Aug 11 01:45:55 UTC 2018


On Mon, Jul 30, 2018 at 07:19:26PM +0300, Sam Protsenko wrote:

> "Failed" error message from env_load() only clutters the log with
> unnecessary details, as we already have all needed warnings by that
> time. Example:
> 
>     Loading Environment from FAT... MMC: no card present
>     ** Bad device mmc 0 **
>     Failed (-5)
> 
> Let's only print it in case when DEBUG is defined to keep log clear.
> 
> Signed-off-by: Sam Protsenko <semen.protsenko at linaro.org>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180810/40a7dae7/attachment.sig>


More information about the U-Boot mailing list