From 5609f200d062a25c1b3baac94a78e3eef0a3cd75 Mon Sep 17 00:00:00 2001 From: Anshul Dalal Date: Mon, 16 Jun 2025 13:34:30 +0530 Subject: [PATCH] arm: Kconfig: enable LTO for ARCH_K3 CONFIG_LTO enables Link Time Optimizations that helps in reducing binary size. The config has been validated on all K3 platforms so can be safely enabled. Signed-off-by: Anshul Dalal --- arch/arm/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 8795eac0dc7..ec3e626a81f 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -820,6 +820,7 @@ config ARCH_K3 select FIT select REGEX select FIT_SIGNATURE if ARM64 + select LTO imply TI_SECURE_DEVICE config ARCH_OMAP2PLUS -- 2.47.2