]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
configs: KASLR OPTEE RNG support for K3 devices
authorGokul Praveen <g-praveen@ti.com>
Thu, 10 Jul 2025 09:59:22 +0000 (15:29 +0530)
committerTom Rini <trini@konsulko.com>
Tue, 22 Jul 2025 16:16:06 +0000 (10:16 -0600)
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>
arch/arm/Kconfig

index 5872455a0fe56d0191b820fb6d269b2c99975c38..4e7593616d8a041ddcf765616654652a27c0623f 100644 (file)
@@ -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+"