summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorThéo Lebrun <theo.lebrun@bootlin.com>2024-12-30 17:30:30 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-12-30 17:36:00 +0300
commit7e606c311f7067f8360556c612eed4b23995d74e (patch)
tree757c4de546fc65246b53a5264c4648cd7adc63b8 /include/linux
parente44f5a619f5ee17eeca2653468b7cd14d3737dc6 (diff)
downloadlinux-7e606c311f7067f8360556c612eed4b23995d74e.tar.xz
nvmem: rmem: add CRC validation for Mobileye EyeQ5 NVMEM
Mobileye EyeQ5 has a non-volatile memory region which gets used to store MAC addresses. Its format includes a prefix 12-byte header and a suffix 4-byte CRC. Add an optional ->checksum() callback inside match data; it runs CRC32 onto the content. Signed-off-by: Théo Lebrun <theo.lebrun@bootlin.com> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Link: https://lore.kernel.org/r/20241230143035.265518-7-srinivas.kandagatla@linaro.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions