summaryrefslogtreecommitdiff
path: root/include/mmc.h
diff options
context:
space:
mode:
authorzhang sanshan <sanshan.zhang@nxp.com>2017-05-22 14:08:14 +0800
committerChen Guoyin <guoyin.chen@nxp.com>2017-07-10 15:08:54 +0800
commitff92794f05268eac978e9ab3e7d97a651819fe36 (patch)
treeb70c0c03b759d04eb86de4f1b05b09f1f4ea8bd6 /include/mmc.h
parent1c79796a523255af5d012fa3cbc5400131b3b8b9 (diff)
downloadu-boot-imx-ff92794f05268eac978e9ab3e7d97a651819fe36.zip
u-boot-imx-ff92794f05268eac978e9ab3e7d97a651819fe36.tar.gz
u-boot-imx-ff92794f05268eac978e9ab3e7d97a651819fe36.tar.bz2
MA-9409-2 fix some issue for android and android things
* Add CONFIG_SYSTEM_RAMDISK_SUPPORT to support system's ramdisk * Normal boot: cmdline to bypass ramdisk in boot.img, but use Recovery boot: Use the ramdisk in boot.img * commandline is larger than 512, system can't bootup sometime for commandline issue. * support fastboot getvar. * Support "fastboot erase" command for emmc device. TODO: uboot community have api to operate flash, we can unify this part * support "fastboot flash" even on damaged gpt Change-Id: I080c25d6569d6cab56ff025601cd3b8df21cf3dd
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 fad12d6..f5ed9da 100644
--- a/include/mmc.h
+++ b/include/mmc.h
@@ -584,6 +584,7 @@ int board_mmc_init(bd_t *bis);
int cpu_mmc_init(bd_t *bis);
int mmc_get_env_addr(struct mmc *mmc, int copy, u32 *env_addr);
int mmc_get_env_dev(void);
+int mmc_map_to_kernel_blk(int dev_no);
struct pci_device_id;