summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorGokul Praveen <g-praveen@ti.com>2025-07-10 15:29:22 +0530
committerTom Rini <trini@konsulko.com>2025-07-22 10:16:06 -0600
commit7d4136397715d2c08161a32a873c052dd1bb8b6c (patch)
tree6d82c196f10e22a45c66e99bb6b433b00d46b12c /arch
parentf2f451d9d6d3756458d5037e3e5135e5211582d7 (diff)
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 <g-praveen@ti.com> Reviewed-by: Bryan Brattlof <bb@ti.com> Reviewed-by: Manorit Chawdhry <m-chawdhry@ti.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/Kconfig3
1 files changed, 3 insertions, 0 deletions
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+"