diff options
author | Tom Rini <trini@konsulko.com> | 2024-12-27 15:16:39 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-12-27 15:16:39 -0600 |
commit | d580a013cca67a8115fb88d260498bde181709a1 (patch) | |
tree | 019afe54c586b325164e10a12149bcc74815ef78 /lib/crc8.c | |
parent | aa233d26bdc3eee90146f0581f7b84a97cf9e729 (diff) | |
parent | 6f1b27a724b0d75bf89cc0f8be95fc3bcb4d4fe8 (diff) |
Merge patch series "vbe: Series part E"
Simon Glass <sjg@chromium.org> says:
This includes various patches towards implementing the VBE abrec
bootmeth in U-Boot. It mostly focuses on SPL tweaks and adjusting what
fatures are available in VPL.
Link: https://lore.kernel.org/r/20241219182907.2609704-1-sjg@chromium.org
Diffstat (limited to 'lib/crc8.c')
-rw-r--r-- | lib/crc8.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/crc8.c b/lib/crc8.c index 20d46d16147..811e19917b4 100644 --- a/lib/crc8.c +++ b/lib/crc8.c @@ -32,3 +32,9 @@ unsigned int crc8(unsigned int crc, const unsigned char *vptr, int len) return crc; } + +void crc8_wd_buf(const unsigned char *input, unsigned int len, + unsigned char output[1], unsigned int chunk_sz) +{ + *output = crc8(0, input, len); +} |