build/patch/u-boot/u-boot-imx7d/u-boot-remove-predefined-mmcroot.patch
andpp 0797faab9f Added initial support of MCIMX7SABRE board (#1542)
* Added initial support of MCIMX7SABRE board

MCIMX7SABRE is NXP iMX7d-based board with 1Gb RAM
2xGBE, 1xmPCIe

Change-Id: I62685a55de54fa6109bef2a8e2ee760d831ffa0e

* Added initial support of MCIMX7SABRE board

MCIMX7SABRE is NXP iMX7d-based board with 1Gb RAM
2xGBE, 1xmPCIe

Change-Id: I62685a55de54fa6109bef2a8e2ee760d831ffa0e

* Changed BOARDFAMILY from mx7dsabre to imx7d

Change-Id: Id351c9f6a8c907b415b804bfe11b86027278ed86

* Disabled MD driver for imx7d Kernel

MD driver does not work correctly on NXP-modified kernel

Change-Id: I58e8de6ee0b99282c452f594e22f6f7e1ff59ae0
2019-09-09 22:00:45 +02:00

16 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);
}