armbian_build/patch/u-boot/u-boot-imx7d-current/u-boot-remove-predefined-mmcroot.patch
andpp 27536347d9
Updated kernel/u-boot for MCIMX7SABRE board (#2906)
* Updated kernel/u-boot for MCIMX7SABRE board

Supporing 'current' and 'legacy' branches for MCIMX7SABRE board

current branch:
   u-boot: imx_v2020.04_5.4.70_2.3.0
   kernel: imx_5.4.70_2.3.0

legacy branch:
   u-boot: imx_v2018.03_4.14.98_2.0.0_ga
   kernel: imx_4.14.98_2.0.0_ga

* Update kernel config with few additional options like zram, bonding, ... just a few to keep minimum consistency over kernels.

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2021-06-20 10:06:29 +02:00

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