]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: dts: imx8mm-verdin: prepare for dek blob encapsulation
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>
Sat, 9 Oct 2021 20:41:05 +0000 (22:41 +0200)
committerStefano Babic <sbabic@denx.de>
Wed, 20 Oct 2021 13:08:25 +0000 (15:08 +0200)
Prepare for DEK blob encapsulation support through "dek_blob" command.
On ARMv8, u-boot runs in non-secure, thus cannot encapsulate a DEK blob
for encrypted boot.
The DEK blob is encapsulated by OP-TEE through a trusted application
call. U-boot sends and receives the DEK and the DEK blob binaries
through OP-TEE dynamic shared memory.

To enable the DEK blob encapsulation, add to the defconfig:
CONFIG_SECURE_BOOT=y
CONFIG_FAT_WRITE=y
CONFIG_CMD_DEKBLOB=y

Taken from NXP's commit 56d2050f4028 ("imx8m: Add DEK blob encapsulation
for imx8m").

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
arch/arm/dts/imx8mm-verdin-u-boot.dtsi

index 67c31c49b6cf0d999a85c5ab075b0895a6d1d877..a97626fa0c165aac41fa8f2a3169eb3a6bf8cff7 100644 (file)
@@ -6,6 +6,13 @@
 #include "imx8mm-u-boot.dtsi"
 
 / {
+       firmware {
+               optee {
+                       compatible = "linaro,optee-tz";
+                       method = "smc";
+               };
+       };
+
        wdt-reboot {
                compatible = "wdt-reboot";
                wdt = <&wdog1>;