diff options
author | Uros Majstorovic <majstor@majstor.org> | 2021-08-07 00:52:45 +0200 |
---|---|---|
committer | Uros Majstorovic <majstor@majstor.org> | 2021-08-07 00:52:45 +0200 |
commit | c6c159d4742c16dce25e6353876612e443a39b7d (patch) | |
tree | 8b3dd2273ac4f762d24aca12f3a8e61c73fb515e /recipes-bsp | |
parent | ce92f3508c05bff4f06a27f01e8f737b706ff48e (diff) |
fixed imx-boot
Diffstat (limited to 'recipes-bsp')
-rw-r--r-- | recipes-bsp/imx-mkimage/imx-boot_%.bbappend | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/recipes-bsp/imx-mkimage/imx-boot_%.bbappend b/recipes-bsp/imx-mkimage/imx-boot_%.bbappend index fa00ccc..5fa1774 100644 --- a/recipes-bsp/imx-mkimage/imx-boot_%.bbappend +++ b/recipes-bsp/imx-mkimage/imx-boot_%.bbappend @@ -1,7 +1,10 @@ do_compile_preppend () { make_file=${S}/iMX8M/soc.mak if [ -e ${make_file} ]; then - sed -i "s/dtbs = .*dtb/dtbs = ${UBOOT_DTB_NAME}/g" ${make_file} + sed -i "s/^dtbs = .*dtb/dtbs = ${UBOOT_DTB_NAME}/g" ${make_file} + if [ ! -z ${DDR_FIRMWARE_VERSION} ]; then + sed -i "/^lpddr4_.mem_.d = / i LPDDR_FW_VERSION = _${DDR_FIRMWARE_VERSION}" ${make_file} + fi fi } |