aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Kconfig7
-rw-r--r--src/soc/rockchip/rk3288/Kconfig1
2 files changed, 7 insertions, 1 deletions
diff --git a/src/Kconfig b/src/Kconfig
index a6032c7d07..2663f5022d 100644
--- a/src/Kconfig
+++ b/src/Kconfig
@@ -135,9 +135,14 @@ config STATIC_OPTION_TABLE
every boot. Use this if you want the NVRAM configuration to
never be modified from its default values.
+config UNCOMPRESSED_RAMSTAGE
+ bool
+ default n
+
config COMPRESS_RAMSTAGE
bool "Compress ramstage with LZMA"
- default y
+ default y if !UNCOMPRESSED_RAMSTAGE
+ default n
help
Compress ramstage to save memory in the flash image. Note
that decompression might slow down booting if the boot flash
diff --git a/src/soc/rockchip/rk3288/Kconfig b/src/soc/rockchip/rk3288/Kconfig
index 48ea7fc5d5..60d69f678f 100644
--- a/src/soc/rockchip/rk3288/Kconfig
+++ b/src/soc/rockchip/rk3288/Kconfig
@@ -30,6 +30,7 @@ config SOC_ROCKCHIP_RK3288
select HAVE_UART_MEMORY_MAPPED
select HAVE_UART_SPECIAL
select BOOTBLOCK_CONSOLE
+ select UNCOMPRESSED_RAMSTAGE
if SOC_ROCKCHIP_RK3288