summaryrefslogtreecommitdiff
path: root/include/mmc.h
diff options
context:
space:
mode:
authorChe-Liang Chiou <clchiou@chromium.org>2011-04-14 15:38:45 +0800
committerSimon Glass <sjg@chromium.org>2011-08-24 10:01:05 -0700
commit9d608973a908965749f0b005f92ba9585ebc2c98 (patch)
tree5310eb2b11744464f604c95f06eb1533277151ef /include/mmc.h
parent1d38d11a56bef244575a2f79f8fe7e722e80eddd (diff)
HACK: Temporarily change VbNvContext from SPI to eMMC
So far kernel does not have a SPI flash driver. That means kernel cannot access VbNvContext in SPI flash for now. Here is a temporary workaround for factory bring up that changes the VbNvContext storage device from SPI flash to eMMC, where we are certain that kernel is able to access. R=rongchang@chromium.org BUG=none TEST=none Review URL: http://codereview.chromium.org/6825069 Change-Id: I60059ef23e57facc278340db6613caa83c76529a
Diffstat (limited to 'include/mmc.h')
-rw-r--r--include/mmc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/mmc.h b/include/mmc.h
index 4701e2482f5..6891613ea98 100644
--- a/include/mmc.h
+++ b/include/mmc.h
@@ -313,6 +313,8 @@ int atmel_mci_init(void *regs);
struct mmc *mmc_spi_init(uint bus, uint cs, uint speed, uint mode);
#else
int mmc_legacy_init(int verbose);
+/* TODO: temporary hack for factory bring up; remove/rewrite when necessary */
+int get_mmc_current_device(void);
#endif
#endif /* _MMC_H_ */