diff options
-rw-r--r-- | common/cmd_mmc.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/common/cmd_mmc.c b/common/cmd_mmc.c index 29cae1b..1061dab 100644 --- a/common/cmd_mmc.c +++ b/common/cmd_mmc.c @@ -103,7 +103,11 @@ U_BOOT_CMD( return 1; \ } \ if (sd_switch_partition(mmc, part) < 0) { \ - return 1; \ + if (part > 0) { \ + printf("\nError: Unable to switch SD "\ + "partition\n");\ + return 1; \ + } \ } \ } else { \ if (mmc_switch_partition(mmc, part, enable_boot) \ |