build/patch/u-boot/v2020.04/u-boot-remove-predefined-mmcroot.patch

17 lines
469 B
Diff

diff --git a/board/freescale/common/mmc.c b/board/freescale/common/mmc.c
index 9fc3e68..f150892 100644
--- a/board/freescale/common/mmc.c
+++ b/board/freescale/common/mmc.c
@@ -40,11 +40,6 @@ void board_late_mmc_env_init(void)
env_set_ulong("mmcdev", dev_no);
- /* Set mmcblk env */
- sprintf(mmcblk, "/dev/mmcblk%dp2 rootwait rw",
- mmc_map_to_kernel_blk(dev_no));
- env_set("mmcroot", mmcblk);
-
sprintf(cmd, "mmc dev %d", dev_no);
run_command(cmd, 0);
}