summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Agner <stefan.agner@toradex.com>2018-02-06 14:18:42 +0100
committerStefan Agner <stefan.agner@toradex.com>2018-02-06 16:21:02 +0100
commit41ef3986ae21dc6fcc4355ab53ccc809d80d361e (patch)
tree32d35018dcff74f9e01e5fb36021244a7e0f6d73
parent04e7012224b6971972cb76415980c835a2ba9654 (diff)
apalis-imx8: load HDMI firmware
Extend bootcmd to also load the HDMI firmware through hdp command. Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
-rw-r--r--configs/apalis-imx8_defconfig1
-rw-r--r--include/configs/apalis-imx8.h4
2 files changed, 5 insertions, 0 deletions
diff --git a/configs/apalis-imx8_defconfig b/configs/apalis-imx8_defconfig
index 29972a3d3b..296a5326d8 100644
--- a/configs/apalis-imx8_defconfig
+++ b/configs/apalis-imx8_defconfig
@@ -53,4 +53,5 @@ CONFIG_USB_GADGET_DOWNLOAD=y
CONFIG_G_DNL_MANUFACTURER="FSL"
CONFIG_G_DNL_VENDOR_NUM=0x0525
CONFIG_G_DNL_PRODUCT_NUM=0xa4a5
+CONFIG_VIDEO_IMX_HDP_LOAD=y
# CONFIG_EFI_LOADER is not set
diff --git a/include/configs/apalis-imx8.h b/include/configs/apalis-imx8.h
index 8a1f1fb45c..9ef7516f40 100644
--- a/include/configs/apalis-imx8.h
+++ b/include/configs/apalis-imx8.h
@@ -124,6 +124,9 @@
"mmcdev="__stringify(CONFIG_SYS_MMC_ENV_DEV)"\0" \
"mmcpart=" __stringify(CONFIG_SYS_MMC_IMG_LOAD_PART) "\0" \
"mmcroot=" CONFIG_MMCROOT " rootwait rw\0" \
+ "hdp_addr=0x84000000\0" \
+ "hdp_file=hdmitxfw.bin\0" \
+ "loadhdp=fatload mmc ${mmcdev}:${mmcpart} ${hdp_addr} ${hdp_file}\0" \
"mmcautodetect=yes\0" \
"mmcargs=setenv bootargs console=${console},${baudrate} root=${mmcroot} " \
"video=imxdpufb5:off video=imxdpufb6:off video=imxdpufb7:off\0" \
@@ -134,6 +137,7 @@
"loadfdt=fatload mmc ${mmcdev}:${mmcpart} ${fdt_addr} ${fdt_file}\0" \
"mmcboot=echo Booting from mmc ...; " \
"run mmcargs; " \
+ "run loadhdp; hdp load ${hdp_addr}; " \
"if test ${boot_fdt} = yes || test ${boot_fdt} = try; then " \
"if run loadfdt; then " \
"booti ${loadaddr} - ${fdt_addr}; " \