Commit da057b1fefb27759cbb35a60d4210e2dc40061ee
Committed by
Ye Li
1 parent
e1954f43dd
Exists in
smarc_8mm-imx_v2019.04_4.19.35_1.1.0
and in
1 other branch
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)
Showing 7 changed files with 15 additions and 0 deletions Side-by-side Diff
configs/imx8qm_ddr4_arm2_defconfig
configs/imx8qm_lpddr4_arm2_defconfig
configs/imx8qm_lpddr4_arm2_fspi_defconfig
configs/imx8qm_mek_defconfig
configs/imx8qm_mek_fspi_defconfig
include/configs/imx8qm_arm2.h
... | ... | @@ -150,7 +150,11 @@ |
150 | 150 | "source\0" \ |
151 | 151 | "loadimage=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${image}\0" \ |
152 | 152 | "loadfdt=fatload mmc ${mmcdev}:${mmcpart} ${fdt_addr} ${fdt_file}\0" \ |
153 | + "hdp_addr=0x84000000\0" \ | |
154 | + "hdp_file=dpfw.bin\0" \ | |
155 | + "loadhdp=fatload mmc ${mmcdev}:${mmcpart} ${hdp_addr} ${hdp_file}\0" \ | |
153 | 156 | "mmcboot=echo Booting from mmc ...; " \ |
157 | + "if run loadhdp; then; hdp load ${hdp_addr}; fi;" \ | |
154 | 158 | "run mmcargs; " \ |
155 | 159 | "if test ${boot_fdt} = yes || test ${boot_fdt} = try; then " \ |
156 | 160 | "if run loadfdt; then " \ |
... | ... | @@ -171,6 +175,7 @@ |
171 | 175 | "else " \ |
172 | 176 | "setenv get_cmd tftp; " \ |
173 | 177 | "fi; " \ |
178 | + "if ${get_cmd} ${hdp_addr} ${hdp_file}; then; hdp load ${hdp_addr}; fi;" \ | |
174 | 179 | "${get_cmd} ${loadaddr} ${image}; " \ |
175 | 180 | "if test ${boot_fdt} = yes || test ${boot_fdt} = try; then " \ |
176 | 181 | "if ${get_cmd} ${fdt_addr} ${fdt_file}; then " \ |
include/configs/imx8qm_mek.h
... | ... | @@ -140,7 +140,11 @@ |
140 | 140 | "source\0" \ |
141 | 141 | "loadimage=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${image}\0" \ |
142 | 142 | "loadfdt=fatload mmc ${mmcdev}:${mmcpart} ${fdt_addr} ${fdt_file}\0" \ |
143 | + "hdp_addr=0x84000000\0" \ | |
144 | + "hdp_file=hdmitxfw.bin\0" \ | |
145 | + "loadhdp=fatload mmc ${mmcdev}:${mmcpart} ${hdp_addr} ${hdp_file}\0" \ | |
143 | 146 | "mmcboot=echo Booting from mmc ...; " \ |
147 | + "if run loadhdp; then; hdp load ${hdp_addr}; fi;" \ | |
144 | 148 | "run mmcargs; " \ |
145 | 149 | "if test ${boot_fdt} = yes || test ${boot_fdt} = try; then " \ |
146 | 150 | "if run loadfdt; then " \ |
... | ... | @@ -161,6 +165,7 @@ |
161 | 165 | "else " \ |
162 | 166 | "setenv get_cmd tftp; " \ |
163 | 167 | "fi; " \ |
168 | + "if ${get_cmd} ${hdp_addr} ${hdp_file}; then; hdp load ${hdp_addr}; fi;" \ | |
164 | 169 | "${get_cmd} ${loadaddr} ${image}; " \ |
165 | 170 | "if test ${boot_fdt} = yes || test ${boot_fdt} = try; then " \ |
166 | 171 | "if ${get_cmd} ${fdt_addr} ${fdt_file}; then " \ |