diff options
author | Oliver Brown <oliver.brown@nxp.com> | 2017-12-13 17:14:58 -0600 |
---|---|---|
committer | Ye Li <ye.li@nxp.com> | 2020-04-27 00:15:56 -0700 |
commit | 8404bee5ba93529548f7e8c83a5d631e50113a78 (patch) | |
tree | 94f49d04df106e132639ba86d06689f7d337568b /include/configs | |
parent | 14786daf794bc336540c7613fdbec81c31b40345 (diff) |
MLK-17205-3 video: imx: hdp: Adding configs for HDP firmware loading
Added default environment for hdp loading.
Added hdp loading as default for iMX8QM ARM2 and MEK boards.
Signed-off-by: Oliver Brown <oliver.brown@nxp.com>
(cherry picked from commit 432e5b4347841095c3b5a8a0d106f35deadd006e)
(cherry picked from commit cb78a32fa8eb8c37932be003ebe4fa1f8c46c1d5)
Diffstat (limited to 'include/configs')
-rw-r--r-- | include/configs/imx8qm_mek.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/configs/imx8qm_mek.h b/include/configs/imx8qm_mek.h index 3156034178..2bbbefc981 100644 --- a/include/configs/imx8qm_mek.h +++ b/include/configs/imx8qm_mek.h @@ -184,10 +184,17 @@ "source\0" \ "loadimage=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${image}\0" \ "loadfdt=fatload mmc ${mmcdev}:${mmcpart} ${fdt_addr} ${fdt_file}\0" \ + "hdp_addr=0x9c000000\0" \ + "hdprx_addr=0x9c800000\0" \ + "hdp_file=hdmitxfw.bin\0" \ + "hdprx_file=hdmirxfw.bin\0" \ + "loadhdp=fatload mmc ${mmcdev}:${mmcpart} ${hdp_addr} ${hdp_file}\0" \ + "loadhdprx=fatload mmc ${mmcdev}:${mmcpart} ${hdprx_addr} ${hdprx_file}\0" \ "boot_os=booti ${loadaddr} - ${fdt_addr};\0" \ "loadcntr=fatload mmc ${mmcdev}:${mmcpart} ${cntr_addr} ${cntr_file}\0" \ "auth_os=auth_cntr ${cntr_addr}\0" \ "mmcboot=echo Booting from mmc ...; " \ + "if run loadhdp; then; hdp load ${hdp_addr}; fi;" \ "run mmcargs; " \ "if test ${sec_boot} = yes; then " \ "if run auth_os; then " \ @@ -216,6 +223,7 @@ "else " \ "setenv get_cmd tftp; " \ "fi; " \ + "if ${get_cmd} ${hdp_addr} ${hdp_file}; then; hdp load ${hdp_addr}; fi;" \ "if test ${sec_boot} = yes; then " \ "${get_cmd} ${cntr_addr} ${cntr_file}; " \ "if run auth_os; then " \ |