]> git.baikalelectronics.ru Git - uboot.git/commit
env: Don't show "Failed" error message
authorSam Protsenko <semen.protsenko@linaro.org>
Mon, 30 Jul 2018 16:19:26 +0000 (19:19 +0300)
committerTom Rini <trini@konsulko.com>
Fri, 10 Aug 2018 17:45:34 +0000 (13:45 -0400)
commit1a0109eb58f2482e1bb6e928ad2bffc5c8ff4093
treedc535f59ac384295af37b7860a63ab9a40612c9d
parenta86505912ec7b01b8b5597f39b2199b0d4f82488
env: Don't show "Failed" error message

"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@linaro.org>
env/env.c