From 57550ac5ad863001350ca89b36ed88c2e9da5fe3 Mon Sep 17 00:00:00 2001 From: Igor Opaniuk Date: Wed, 28 Oct 2020 17:39:06 +0200 Subject: apalis-imx8: force to use load_cmd instead of hardcoded mmc Use $load_cmd for hdpload command, which is set by distro_bootcmd. As "run $setup" is invoked only by our distroboot script, this save to do that. Signed-off-by: Igor Opaniuk --- include/configs/apalis-imx8.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/configs/apalis-imx8.h b/include/configs/apalis-imx8.h index 2610fec2ca..4679b7026e 100644 --- a/include/configs/apalis-imx8.h +++ b/include/configs/apalis-imx8.h @@ -62,8 +62,8 @@ #define M4_BOOT_ENV \ "m4_0_image=m4_0.bin\0" \ "m4_1_image=m4_1.bin\0" \ - "loadm4image_0=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${m4_0_image}\0" \ - "loadm4image_1=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${m4_1_image}\0" \ + "loadm4image_0=${load_cmd} ${loadaddr} ${m4_0_image}\0" \ + "loadm4image_1=${load_cmd} ${loadaddr} ${m4_1_image}\0" \ "m4boot_0=run loadm4image_0; dcache flush; bootaux ${loadaddr} 0\0" \ "m4boot_1=run loadm4image_1; dcache flush; bootaux ${loadaddr} 1\0" \ @@ -99,7 +99,7 @@ "fdtfile=" FDT_FILE "\0" \ "finduuid=part uuid mmc ${mmcdev}:2 uuid\0" \ "hdp_file=hdmitxfw.bin\0" \ - "loadhdp=fatload mmc ${mmcdev}:${mmcpart} ${hdp_addr} ${hdp_file}\0" \ + "loadhdp=${load_cmd} ${hdp_addr} ${hdp_file}\0" \ "mmcautodetect=yes\0" \ "mmcargs=setenv bootargs console=${console},${baudrate} " \ "root=PARTUUID=${uuid} rootwait " \ -- cgit v1.2.3