versal: patch enables xilnvm and xilpuf in the PLM

Adding in the PetaLinux patch that enables XilNvm and XilPuf drivers in the PLM,
which is required by the Versal OP-TEE port. Additionally, updated the BIF file
to point to the updated PLM instead of the pre-built PLM.

This update goes along with the document update:
        https://github.com/OP-TEE/optee_docs/pull/209.

Signed-off-by: Nathan Menhorn <nathan.menhorn@amd.com>
Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
diff --git a/versal/bootImage-versal-vck190.bif b/versal/bootImage-versal-vck190.bif
index f85c012..5260dbd 100644
--- a/versal/bootImage-versal-vck190.bif
+++ b/versal/bootImage-versal-vck190.bif
@@ -2,7 +2,7 @@
 {
 	image {
 	      { type=bootimage, file=../versal-vck190-bsp/project-spec/hw-description/vpl_gen_fixed.pdi }
-	      { type=bootloader, file=../versal-vck190-bsp/pre-built/linux/images/plm.elf }
+	      { type=bootloader, file=../versal-vck190-bsp/images/linux/plm.elf }
 	      { core=psm, file=../versal-vck190-bsp/pre-built/linux/images/psmfw.elf }
 	}
 
diff --git a/versal/plm-firmware_%.bbappend b/versal/plm-firmware_%.bbappend
new file mode 100755
index 0000000..12d0d02
--- /dev/null
+++ b/versal/plm-firmware_%.bbappend
@@ -0,0 +1,10 @@
+# Add the required security libraries for Versal OP-TEE as only XilSecure is
+# enabled by default
+
+YAML_BSP_CONFIG += "plm_nvm_en plm_puf_en"
+
+# Enable the XilNvm library to allow PLM access to eFUSEs and BBRAM
+YAML_BSP_CONFIG[plm_nvm_en] = "set,true"
+
+# Enable the XilPuf library to allow PLM access to PUF functionality
+YAML_BSP_CONFIG[plm_puf_en] = "set,true"