summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-core
diff options
context:
space:
mode:
authorMeng Li <Meng.Li@windriver.com>2022-07-08 10:06:52 +0800
committerMark Hatle <mark.hatle@amd.com>2023-04-10 09:03:22 -0700
commit35b40e93b5af08777b1bba809f9190836a3fb928 (patch)
tree7a38974428e2a897b97ae3e58bc8b4f6ca589d4e /meta-xilinx-core
parent8313e657779cc3e6f6866697c0be30d0bdd89544 (diff)
downloadmeta-xilinx-35b40e93b5af08777b1bba809f9190836a3fb928.tar.gz
u-boot-xlnx: do not install u-boot.dtb when secure boot feature is enabled
Issue: LINUXEXEC-21580 When secure boot feature is enabled, the linux-yocto deploy function installs u-boot.dtb into deploy directory after saving the pub key into it. So, it doesn't need to install u-boot.dtb again in u-boot-xlnx bbappend file. Signed-off-by: Meng Li <Meng.Li@windriver.com> Moved from meta-xilinx-tools to meta-xilinx/meta-xilinx-core Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Diffstat (limited to 'meta-xilinx-core')
-rw-r--r--meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx.inc b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx.inc
index 38d8e492..9077c3fd 100644
--- a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx.inc
+++ b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx.inc
@@ -62,7 +62,9 @@ do_deploy:prepend() {
62 62
63 #following lines are from uboot-sign.bbclass, vars are defined there 63 #following lines are from uboot-sign.bbclass, vars are defined there
64 if [ -e "${UBOOT_DTB_BINARY}" ]; then 64 if [ -e "${UBOOT_DTB_BINARY}" ]; then
65 install ${UBOOT_DTB_BINARY} ${DEPLOYDIR}/${UBOOT_DTB_IMAGE} 65 if [ "${UBOOT_SIGN_ENABLE}" = "0" ]; then
66 install ${UBOOT_DTB_BINARY} ${DEPLOYDIR}/${UBOOT_DTB_IMAGE}
67 fi
66 ln -sf ${UBOOT_DTB_IMAGE} ${DEPLOYDIR}/${UBOOT_DTB_BINARY} 68 ln -sf ${UBOOT_DTB_IMAGE} ${DEPLOYDIR}/${UBOOT_DTB_BINARY}
67 ln -sf ${UBOOT_DTB_IMAGE} ${DEPLOYDIR}/${UBOOT_DTB_SYMLINK} 69 ln -sf ${UBOOT_DTB_IMAGE} ${DEPLOYDIR}/${UBOOT_DTB_SYMLINK}
68 fi 70 fi