Skip to contentSkip to conversation

core: drivers: zynqmp_csu_puf.c: increase regen time to 6ms

PATCH New Neal Frager 1 participant 1 message Mar 7, 2023 Arm/Zynq architecture

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 core: drivers: zynqmp_csu_puf.c: increase regen time to 6ms

With further evaluation of the ZU+ PUF, we have determined that it is possible for the PUF regeneration time to exceed 3ms. For this reason, the 2023.1 version of the Xilinx xilskey library will bump the wait time for PUF regeneration to 6ms. This patch brings optee in line with this change.

---
 core/drivers/zynqmp_csu_puf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
core/drivers/zynqmp_csu_puf.c +1 -1
index f51443b9..1f8dc4f0 100644
@@ -24,7 +24,7 @@
 
 #define PUF_CFG0_DEFAULT		0x02
 #define PUF_SHUT_DEFAULT		0x01000100
-#define PUF_REGEN_TIME_MS		3
+#define PUF_REGEN_TIME_MS		6
 
 TEE_Result zynqmp_csu_puf_regenerate(void)
 {
Signature · 1 line
2.17.1