diff options
author | Igor Opaniuk <igor.opaniuk@toradex.com> | 2020-10-28 17:39:06 +0200 |
---|---|---|
committer | Igor Opaniuk <igor.opaniuk@toradex.com> | 2020-10-29 17:14:19 +0200 |
commit | 57550ac5ad863001350ca89b36ed88c2e9da5fe3 (patch) | |
tree | ba94ff314f34f304eb1ce95a1a43178bf8ca99a0 | |
parent | ea46c1f1dd3cd909be41a365e9a1371b7a28ee11 (diff) |
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 <igor.opaniuk@toradex.com>
-rw-r--r-- | include/configs/apalis-imx8.h | 6 |
1 files 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 " \ |