diff options
author | Hans de Goede <hdegoede@redhat.com> | 2015-08-15 20:05:01 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-08-28 12:33:14 -0400 |
commit | a85da21f7527e70a2b81d71aa73d318fb354e912 (patch) | |
tree | 7f4a497209717ef322776dc4ec271fc1ff85192a /board/iomega | |
parent | 972ea5339006e12a6c5d79f8c263ff5d1f463b30 (diff) | |
download | u-boot-imx-a85da21f7527e70a2b81d71aa73d318fb354e912.zip u-boot-imx-a85da21f7527e70a2b81d71aa73d318fb354e912.tar.gz u-boot-imx-a85da21f7527e70a2b81d71aa73d318fb354e912.tar.bz2 |
env_mmc: Properly prefix mmc errors with '!'
The set_default_env() function from env_common.c expects either
a fully formatted error msg, e.g.: "## Resetting to default environment\n"
or an error msg prefixed with an !, in which case it will format it.
Fix the init_mmc_for_env() error messages to be prefixed with a !
this changes the bootup-log on sunxi when no mmc card is found from:
MMC: SUNXI SD/MMC: 0
No MMC card foundIn: serial
Out: serial
To:
MMC: SUNXI SD/MMC: 0
*** Warning - No MMC card found, using default environment
In: serial
Out: serial
Which clearly is how things should look.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'board/iomega')
0 files changed, 0 insertions, 0 deletions