diff options
author | Marek Vasut <marex@denx.de> | 2016-12-01 02:06:33 +0100 |
---|---|---|
committer | Jaehoon Chung <jh80.chung@samsung.com> | 2016-12-01 13:51:57 +0900 |
commit | b5b838f1a726e9ab7eea505740e8169b55e90ed6 (patch) | |
tree | 30c1d1b44a48d97813e9595f66850d89363992a9 /include/mmc.h | |
parent | ce9eca9438d69306441060e7ac90e45d47882f34 (diff) |
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mmc.h b/include/mmc.h index 22853234b13..1720955a4c9 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); |