|
@@ -93,13 +93,13 @@ static inline int mmc_set_env_part(struct mmc *mmc) {return 0; };
|
|
static const char *init_mmc_for_env(struct mmc *mmc)
|
|
static const char *init_mmc_for_env(struct mmc *mmc)
|
|
{
|
|
{
|
|
if (!mmc)
|
|
if (!mmc)
|
|
- return "No MMC card found";
|
|
|
|
|
|
+ return "!No MMC card found";
|
|
|
|
|
|
if (mmc_init(mmc))
|
|
if (mmc_init(mmc))
|
|
- return "MMC init failed";
|
|
|
|
|
|
+ return "!MMC init failed";
|
|
|
|
|
|
if (mmc_set_env_part(mmc))
|
|
if (mmc_set_env_part(mmc))
|
|
- return "MMC partition switch failed";
|
|
|
|
|
|
+ return "!MMC partition switch failed";
|
|
|
|
|
|
return NULL;
|
|
return NULL;
|
|
}
|
|
}
|