From: Arnd Bergmann Date: Fri, 9 May 2025 12:24:06 +0000 (+0100) Subject: nvmem: rmem: select CONFIG_CRC32 X-Git-Tag: v6.16-rc1~30^2~33 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7a93add1d31f14e0b7e937163904dee1e864a9a8;p=thirdparty%2Flinux.git nvmem: rmem: select CONFIG_CRC32 The newly added crc checking leads to a link failure if CRC32 itself is disabled: x86_64-linux-ld: vmlinux.o: in function `rmem_eyeq5_checksum': rmem.c:(.text+0x52341b): undefined reference to `crc32_le_arch' Fixes: 7e606c311f70 ("nvmem: rmem: add CRC validation for Mobileye EyeQ5 NVMEM") Cc: stable Signed-off-by: Arnd Bergmann Signed-off-by: Srinivas Kandagatla Link: https://lore.kernel.org/r/20250509122407.11763-2-srini@kernel.org Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/nvmem/Kconfig b/drivers/nvmem/Kconfig index 8671b7c974b93..eceb3cdb421ff 100644 --- a/drivers/nvmem/Kconfig +++ b/drivers/nvmem/Kconfig @@ -260,6 +260,7 @@ config NVMEM_RCAR_EFUSE config NVMEM_RMEM tristate "Reserved Memory Based Driver Support" depends on HAS_IOMEM + select CRC32 help This driver maps reserved memory into an nvmem device. It might be useful to expose information left by firmware in memory.