summaryrefslogtreecommitdiff
path: root/include/mmc.h
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2016-12-01 01:06:33 (GMT)
committerJaehoon Chung <jh80.chung@samsung.com>2016-12-01 04:51:57 (GMT)
commitb5b838f1a726e9ab7eea505740e8169b55e90ed6 (patch)
tree30c1d1b44a48d97813e9595f66850d89363992a9 /include/mmc.h
parentce9eca9438d69306441060e7ac90e45d47882f34 (diff)
downloadu-boot-b5b838f1a726e9ab7eea505740e8169b55e90ed6.tar.xz
mmc: Tinification of the mmc code
Add new configuration option CONFIG_MMC_TINY which strips away all memory allocation within the MMC code and code for handling multiple cards. This allows extremely space-constrained SPL code use the MMC framework. Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Marek Vasut <marex@denx.de> Cc: Tom Rini <trini@konsulko.com> Cc: Jaehoon Chung <jh80.chung@samsung.com>
Diffstat (limited to 'include/mmc.h')
-rw-r--r--include/mmc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mmc.h b/include/mmc.h
index 2285323..1720955 100644
--- a/include/mmc.h
+++ b/include/mmc.h
@@ -515,6 +515,7 @@ void print_mmc_devices(char separator);
* @return 0 if there is no MMC device, else the number of devices
*/
int get_mmc_num(void);
+int mmc_switch_part(struct mmc *mmc, unsigned int part_num);
int mmc_hwpart_config(struct mmc *mmc, const struct mmc_hwpart_conf *conf,
enum mmc_hwpart_conf_mode mode);