projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cdfd1ac
)
MMC: u-boot-spl may be compiled without partition support
author
Mikhail Kshevetskiy
<mikhail.kshevetskiy@gmail.com>
Mon, 9 Jul 2012 08:53:38 +0000
(08:53 +0000)
committer
Andy Fleming
<afleming@freescale.com>
Wed, 5 Sep 2012 22:32:41 +0000
(17:32 -0500)
Signed-off-by: Mikhail Kshevetskiy <mikhail.kshevetskiy@gmail.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
drivers/mmc/mmc.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/mmc.c
b/drivers/mmc/mmc.c
index 326274056701764f53a2cfc2b2e99bfd9ddb1e2f..1f666c2fdc9122057021f7fe44a2e4247834fcc2 100644
(file)
--- a/
drivers/mmc/mmc.c
+++ b/
drivers/mmc/mmc.c
@@
-1232,7
+1232,9
@@
int mmc_startup(struct mmc *mmc)
(mmc->cid[1] >> 8) & 0xff, mmc->cid[1] & 0xff);
sprintf(mmc->block_dev.revision, "%d.%d", mmc->cid[2] >> 28,
(mmc->cid[2] >> 24) & 0xf);
+#if !defined(CONFIG_SPL_BUILD) || defined(CONFIG_SPL_LIBDISK_SUPPORT)
init_part(&mmc->block_dev);
+#endif
return 0;
}