projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
x86: pci: Do not assign irq 0 to pci device
[oweals/u-boot.git]
/
common
/
cmd_mmc_spi.c
diff --git
a/common/cmd_mmc_spi.c
b/common/cmd_mmc_spi.c
index cfd0fb11367625dbd21f4fcc395795289cdcba2b..a2138b8650e90cc68a1c2dde5b808fe9caa7dc47 100644
(file)
--- a/
common/cmd_mmc_spi.c
+++ b/
common/cmd_mmc_spi.c
@@
-72,14
+72,13
@@
static int do_mmc_spi(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
printf("Failed to create MMC Device\n");
return 1;
}
printf("Failed to create MMC Device\n");
return 1;
}
- printf("%s: %d at %u:%u hz %u mode %u\n", mmc->name, mmc->block_dev.dev,
+ printf("%s: %d at %u:%u hz %u mode %u\n", mmc->
cfg->
name, mmc->block_dev.dev,
bus, cs, speed, mode);
mmc_init(mmc);
return 0;
usage:
bus, cs, speed, mode);
mmc_init(mmc);
return 0;
usage:
- cmd_usage(cmdtp);
- return 1;
+ return CMD_RET_USAGE;
}
U_BOOT_CMD(
}
U_BOOT_CMD(