summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2025-12-18 17:30:56 -0600
committerTom Rini <[email protected]>2026-01-06 14:44:21 -0600
commite7797f450ad26bca32c12ae55e3d43438b74f910 (patch)
treedb6129eafc55e0867448293171be0ba250ab79f7 /configs
parentdd0ad45920a7269c44c306b2764bd7b49c92f179 (diff)
lzma: Add Kconfig options to optimize for size
Currently, our LZMA library has an option for optimizing for size, rather than speed. It is a minimal savings today, and has not been worth enabling. As this will change in the near future, add options now to allow disabling it in full U-Boot or in SPL, and enable these on gardena-smart-gateway-mt7688 which is very close to the size limit today. Reviewed-by: Stefan Roese <[email protected]> Signed-off-by: Tom Rini <[email protected]>
Diffstat (limited to 'configs')
-rw-r--r--configs/gardena-smart-gateway-mt7688_defconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/configs/gardena-smart-gateway-mt7688_defconfig b/configs/gardena-smart-gateway-mt7688_defconfig
index 3c2bcc6a3c4..aba8a2ffd1d 100644
--- a/configs/gardena-smart-gateway-mt7688_defconfig
+++ b/configs/gardena-smart-gateway-mt7688_defconfig
@@ -101,4 +101,6 @@ CONFIG_MT7621_SPI=y
CONFIG_WDT=y
CONFIG_WDT_MT7621=y
CONFIG_LZMA=y
+CONFIG_LZMA_SIZE_OPTIMIZATION=y
CONFIG_SPL_LZMA=y
+CONFIG_SPL_LZMA_SIZE_OPTIMIZATION=y