From 7d4136397715d2c08161a32a873c052dd1bb8b6c Mon Sep 17 00:00:00 2001 From: Gokul Praveen Date: Thu, 10 Jul 2025 15:29:22 +0530 Subject: [PATCH] configs: KASLR OPTEE RNG support for K3 devices KASLR, or Kernel Address Space Layout Randomization, is a security feature in the Linux kernel that randomizes the memory location where the kernel is loaded during boot. OP-TEE RNG is a Random Number Generator (RNG) component within the Open Portable Trusted Execution Environment (OP-TEE) which provides a random number to U-BOOT and U-BOOT provides this random number as seed value to the LINUX kernel for KASLR. Add KASLR OPTEE RNG support across K3 devices by enabling the required configs. Signed-off-by: Gokul Praveen Reviewed-by: Bryan Brattlof Reviewed-by: Manorit Chawdhry --- arch/arm/Kconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 5872455a0fe..4e7593616d8 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -835,6 +835,9 @@ config ARCH_K3 select FIT_SIGNATURE if ARM64 select LTO imply TI_SECURE_DEVICE + imply DM_RNG if ARM64 + imply TEE if ARM64 + imply OPTEE if ARM64 config ARCH_OMAP2PLUS bool "TI OMAP2+" -- 2.47.2