Commit db9a6349 authored by Frank Li's avatar Frank Li
Browse files

MLK-18862 imx8mm uuu can write emmc by fastboot



uuu can write sd card image to emmc
Signed-off-by: default avatarFrank Li <Frank.Li@nxp.com>
parent 85be73bb
......@@ -389,7 +389,7 @@ int mmc_get_env_dev(void)
/* If not boot from sd/mmc, use default value */
if ((boot_type != BOOT_TYPE_SD) && (boot_type != BOOT_TYPE_MMC))
return CONFIG_SYS_MMC_ENV_DEV;
return getenv_ulong("mmcdev", 10, CONFIG_SYS_MMC_ENV_DEV);
return board_mmc_get_env_dev(devno);
}
......
......@@ -111,6 +111,8 @@
"\0" \
"initrd_addr=0x43800000\0" \
"initrd_high=0xffffffff\0" \
"emmc_dev=1\0" \
"sd_dev=0\0" \
"bootcmd_mfg=run mfgtool_args; if iminfo ${initrd_addr}; then "\
"booti ${loadaddr} ${initrd_addr} ${fdt_addr};"\
"else echo \"Run fastboot ...\"; fastboot 0; fi\0" \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment