mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/
synced 2026-04-05 00:07:48 -04:00
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: 7e606c311f ("nvmem: rmem: add CRC validation for Mobileye EyeQ5 NVMEM")
Cc: stable <stable@kernel.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Srinivas Kandagatla <srini@kernel.org>
Link: https://lore.kernel.org/r/20250509122407.11763-2-srini@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
ff91020412
commit
7a93add1d3
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user