Skip to content
Snippets Groups Projects
Commit 2cd13d8f authored by Frieder Schrempf's avatar Frieder Schrempf
Browse files

meta-ktn-imx: u-boot-ktn-common.inc: Readd missing do_compile() override

In commit

ce868964 ("meta-ktn-imx: u-boot-ktn-common.inc: Remove unneeded do_compile() override")

we removed the do_compile() override, but this is still needed, at
least in Dunfell. Revert this.
parent 0b5b9ebe
No related branches found
No related tags found
1 merge request!1Add Kirkstone support
......@@ -14,6 +14,15 @@ UBOOT_IMAGE_DEPS = ""
UBOOT_IMAGE_DEPS_mx8m = "virtual/trusted-firmware-a:do_deploy firmware-imx-8m:do_deploy"
do_configure[depends] = "${UBOOT_IMAGE_DEPS}"
do_compile:prepend:mx8m() {
for config in ${UBOOT_MACHINE}; do
install -D -m 0644 ${DEPLOY_DIR_IMAGE}/${TFA_BINARY} ${B}/${config}/bl31.bin
done
for ddr_firmware in ${DDR_FIRMWARE_NAME}; do
install -D -m 0644 ${DEPLOY_DIR_IMAGE}/${ddr_firmware} ${B}/${config}/${ddr_firmware}
done
}
# For i.MX8M, we need to pass the correct load address for the ATF to the
# mkimage_fit_atf.sh script, by setting the ATF_LOAD_ADDR environment variable.
EXTRA_OEMAKE:append:mx8m = " 'ATF_LOAD_ADDR=0x00920000'"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment