[PATCH RESEND 62/62] init: rename CONFIG_RD_ZSTD to CONFIG_INITRAMFS_DECOMPRESS_ZSTD
Askar Safin
safinaskar at gmail.com
Sat Sep 13 21:04:51 PDT 2025
Initrd support was removed,
and CONFIG_RD_ZSTD has nothing to do with ramdisks.
Update your configs
Signed-off-by: Askar Safin <safinaskar at gmail.com>
---
arch/riscv/configs/nommu_k210_defconfig | 2 +-
usr/Kconfig | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/riscv/configs/nommu_k210_defconfig b/arch/riscv/configs/nommu_k210_defconfig
index 6e961256a941..68cae0496b54 100644
--- a/arch/riscv/configs/nommu_k210_defconfig
+++ b/arch/riscv/configs/nommu_k210_defconfig
@@ -7,7 +7,7 @@ CONFIG_INITRAMFS=y
# CONFIG_INITRAMFS_DECOMPRESS_XZ is not set
# CONFIG_INITRAMFS_DECOMPRESS_LZO is not set
# CONFIG_INITRAMFS_DECOMPRESS_LZ4 is not set
-# CONFIG_RD_ZSTD is not set
+# CONFIG_INITRAMFS_DECOMPRESS_ZSTD is not set
CONFIG_CC_OPTIMIZE_FOR_SIZE=y
# CONFIG_SYSFS_SYSCALL is not set
# CONFIG_FHANDLE is not set
diff --git a/usr/Kconfig b/usr/Kconfig
index 3a891a0c9ef4..06e1c1474b68 100644
--- a/usr/Kconfig
+++ b/usr/Kconfig
@@ -100,7 +100,7 @@ config INITRAMFS_DECOMPRESS_LZ4
Support loading of a LZ4 encoded initial ramfs.
If unsure, say N.
-config RD_ZSTD
+config INITRAMFS_DECOMPRESS_ZSTD
bool "Support initial ramfs compressed using ZSTD"
default y
select DECOMPRESS_ZSTD
@@ -206,7 +206,7 @@ config INITRAMFS_COMPRESSION_LZ4
config INITRAMFS_COMPRESSION_ZSTD
bool "ZSTD"
- depends on RD_ZSTD
+ depends on INITRAMFS_DECOMPRESS_ZSTD
help
ZSTD is a compression algorithm targeting intermediate compression
with fast decompression speed. It will compress better than GZIP and
--
2.47.2
More information about the linux-riscv
mailing list