From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Fri, 28 Aug 2015 17:02:48 -0400 Subject: [U-Boot] env_mmc: Properly prefix mmc errors with '!' In-Reply-To: <1439661901-9848-2-git-send-email-hdegoede@redhat.com> References: <1439661901-9848-2-git-send-email-hdegoede@redhat.com> Message-ID: <20150828210248.GS25532@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sat, Aug 15, 2015 at 08:05:01PM +0200, Hans de Goede wrote: > 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 Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: