mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-09 03:21:51 +00:00
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>
This commit is contained in:
parent
ce9eca9438
commit
b5b838f1a7
5 changed files with 83 additions and 2 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue