diff options
author | Igor Opaniuk <igor.opaniuk@toradex.com> | 2020-10-28 17:39:06 +0200 |
---|---|---|
committer | Denys Drozdov <denys.drozdov@toradex.com> | 2021-01-08 19:42:09 +0200 |
commit | 90fcaa3b066ee5ed1e9f887b28e59ab1b8048f3a (patch) | |
tree | f4ac17c3cc1e0487dd0083ed13af4cf3959a64de | |
parent | 29c09b948bcb0dba0942cf67b0ddf192ae596b50 (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 " \ |