From 2a9fbaee9339b582e132706bb2dbda725991caca Mon Sep 17 00:00:00 2001 From: Gokul Sriram Palanisamy Date: Thu, 7 Sep 2023 09:30:18 +0530 Subject: [PATCH] ipq5332: TINY NOR: Add CONFIG_REDUCE_FOOTPRINT This new config CONFIG_REDUCE_FOOTPRINT is added for non-standard code reduction to address tiny-nor size requirements. Change-Id: I0ed9df935e8f16bc83bd937432ecf0f892f88caf Signed-off-by: Gokul Sriram Palanisamy --- board/ipq5332/Kconfig | 3 +++ configs/ipq5332_tiny_nor_defconfig | 1 + 2 files changed, 4 insertions(+) diff --git a/board/ipq5332/Kconfig b/board/ipq5332/Kconfig index f78dfa53ae..4b295f2001 100644 --- a/board/ipq5332/Kconfig +++ b/board/ipq5332/Kconfig @@ -15,6 +15,9 @@ config SYS_CONFIG_NAME config NAND_FLASH bool "Enable NAND Framework" +config REDUCE_FOOTPRINT + bool "Remove/reconfigure code to reduce footprint" + config QPIC_SERIAL bool "Enable QPIC serial NAND" diff --git a/configs/ipq5332_tiny_nor_defconfig b/configs/ipq5332_tiny_nor_defconfig index dc1d0252e4..3f99741330 100644 --- a/configs/ipq5332_tiny_nor_defconfig +++ b/configs/ipq5332_tiny_nor_defconfig @@ -21,6 +21,7 @@ CONFIG_SYS_PROMPT="IPQ5332# " # Tiny support # CONFIG_IPQ_TINY=y +CONFIG_REDUCE_FOOTPRINT=y # # Info commands