mbox series

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

Message ID 20180730161927.14763-1-semen.protsenko@linaro.org
Headers show
Series env: Make environment loading log more clear | expand

Message

Sam Protsenko July 30, 2018, 4:19 p.m. UTC
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 show "Failed" error message
  disk: part: Don't show redundant error message

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