diff options
| author | Théo Lebrun <theo.lebrun@bootlin.com> | 2024-12-30 17:30:30 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-12-30 17:36:00 +0300 |
| commit | 7e606c311f7067f8360556c612eed4b23995d74e (patch) | |
| tree | 757c4de546fc65246b53a5264c4648cd7adc63b8 /include/linux | |
| parent | e44f5a619f5ee17eeca2653468b7cd14d3737dc6 (diff) | |
| download | linux-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
