[0/2] env: Make environment loading log more clear

Message ID 20180720131421.7136-1-semen.protsenko@linaro.org
Headers show
Series
  • env: Make environment loading log more clear
Related show

Message

Sam Protsenko July 20, 2018, 1:14 p.m.
This patch series intended to make boot log better. Basically here we
just remove unwanted error messages, relying on the message from most
deep API to be printed (like mmc subsystem). At the moment this looks
like most clean solution to cluttered log problem, as any other solution
will be hackish.

With this patch set applied we will see something like this:

    Loading Environment from FAT... MMC: no card present
    Loading Environment from MMC... OK

instead of:

    Loading Environment from FAT... MMC: no card present
    ** Bad device mmc 0 **
    Failed (-5)
    Loading Environment from MMC... OK


Sam Protsenko (2):
  env: Don't print "Failed" error message
  disk: part: Remove redundant error message

 disk/part.c | 2 +-
 env/env.c   | 4 +---
 2 files changed, 2 insertions(+), 4 deletions(-)