diff options
author | Oliver Brown <oliver.brown@nxp.com> | 2017-12-13 17:14:58 -0600 |
---|---|---|
committer | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2019-07-09 15:54:42 +0200 |
commit | 660216f139a198fac7c8af10daa877f865d67d38 (patch) | |
tree | b22b392f77d30910dda6f885ade14acbc1b74223 | |
parent | 0331071a5a9b52009f4eff5d0bec96ac8e33e764 (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 MEK board.
Signed-off-by: Oliver Brown <oliver.brown@nxp.com>
(cherry picked from downstream commit 432e5b4347841095c3b5a8a0d106f35deadd006e)
(cherry picked from downstream commit cb78a32fa8eb8c37932be003ebe4fa1f8c46c1d5)
-rw-r--r-- | configs/imx8qm_mek_defconfig | 1 | ||||
-rw-r--r-- | include/configs/imx8qm_mek.h | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/configs/imx8qm_mek_defconfig b/configs/imx8qm_mek_defconfig index 6db0669ef47..c618c6989c8 100644 --- a/configs/imx8qm_mek_defconfig +++ b/configs/imx8qm_mek_defconfig @@ -73,4 +73,5 @@ CONFIG_SPL_DM_REGULATOR_GPIO=y CONFIG_DM_SERIAL=y CONFIG_FSL_LPUART=y CONFIG_SPL_TINY_MEMSET=y +CONFIG_VIDEO_IMX_HDP_LOAD=y # CONFIG_EFI_LOADER is not set diff --git a/include/configs/imx8qm_mek.h b/include/configs/imx8qm_mek.h index d06ed61c807..32fcf7eb8f6 100644 --- a/include/configs/imx8qm_mek.h +++ b/include/configs/imx8qm_mek.h @@ -80,7 +80,11 @@ "source\0" \ "loadimage=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${image}\0" \ "loadfdt=fatload mmc ${mmcdev}:${mmcpart} ${fdt_addr} ${fdt_file}\0" \ + "hdp_addr=0x84000000\0" \ + "hdp_file=hdmitxfw.bin\0" \ + "loadhdp=fatload mmc ${mmcdev}:${mmcpart} ${hdp_addr} ${hdp_file}\0" \ "mmcboot=echo Booting from mmc ...; " \ + "if run loadhdp; then; hdp load ${hdp_addr}; fi;" \ "run mmcargs; " \ "if test ${boot_fdt} = yes || test ${boot_fdt} = try; then " \ "if run loadfdt; then " \ @@ -101,6 +105,7 @@ "else " \ "setenv get_cmd tftp; " \ "fi; " \ + "if ${get_cmd} ${hdp_addr} ${hdp_file}; then; hdp load ${hdp_addr}; fi;" \ "${get_cmd} ${loadaddr} ${image}; " \ "if test ${boot_fdt} = yes || test ${boot_fdt} = try; then " \ "if ${get_cmd} ${fdt_addr} ${fdt_file}; then " \ |