diff options
author | Oliver Brown <oliver.brown@nxp.com> | 2022-02-10 18:03:53 -0600 |
---|---|---|
committer | Ye Li <ye.li@nxp.com> | 2022-04-18 14:03:42 +0800 |
commit | 5a43744688f21a5e44c31081f45125723f213bce (patch) | |
tree | 16a4a8632ae92b32628cec9b3e6473c85d198673 /include | |
parent | 058087aff153a92deeb90b054e7c45d3a30b19bd (diff) |
MLK-25832: include: configs: imx8qm_mek: Add HDMI RX firmware loading
The HDMI RX firmware loading has been added to the boot command.
The HDMI RX will be not enabled by default. "hdprx_enable" must be set
to "yes" to enable the HDMIRX firmware load.
Signed-off-by: Oliver Brown <oliver.brown@nxp.com>
(cherry picked from commit 3352bbf34a774e4aaf94a6bc4f5e95514baa5043)
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/imx8qm_mek.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/configs/imx8qm_mek.h b/include/configs/imx8qm_mek.h index 69c12c3804..d8108a7e4f 100644 --- a/include/configs/imx8qm_mek.h +++ b/include/configs/imx8qm_mek.h @@ -150,6 +150,8 @@ #else #define HDP_LOAD_ENV \ "if run loadhdp; then; hdp load ${hdp_addr}; fi;" +#define HDPRX_LOAD_ENV \ + "if test ${hdprx_enable} = yes; then if run loadhdprx; then; hdprx load ${hdprx_addr}; fi; fi; " #define INITRD_ADDR_ENV "initrd_addr=0x83100000\0" #endif @@ -192,6 +194,7 @@ "hdprx_addr=0x9c800000\0" \ "hdp_file=hdmitxfw.bin\0" \ "hdprx_file=hdmirxfw.bin\0" \ + "hdprx_enable=no\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" \ @@ -199,6 +202,7 @@ "auth_os=auth_cntr ${cntr_addr}\0" \ "mmcboot=echo Booting from mmc ...; " \ HDP_LOAD_ENV \ + HDPRX_LOAD_ENV \ "run mmcargs; " \ "if test ${sec_boot} = yes; then " \ "if run auth_os; then " \ |