
1 Jan
2024
1 Jan
'24
5:53 p.m.
From: Simon Glass sjg@chromium.org
Use a sinple 8-bit checksum for bloblist, as specified by the spec version 0.9. Spec v0.9 specifies that the entire bloblist area is checksummed, including unused portions. Update the code to follow this.
Signed-off-by: Simon Glass sjg@chromium.org Co-developed-by: Raymond Mao raymond.mao@linaro.org Signed-off-by: Raymond Mao raymond.mao@linaro.org Reviewed-by: Ilias Apalodimas ilias.apalodimas@linaro.org --- Changes in v4 - Patch #7 and #8 from v3 are squashed into this patch.
common/bloblist.c | 13 ++++--------- include/bloblist.h | 5 ++--- test/bloblist.c | 10 ++++++++-- 3 files changed, 14 insertions(+), 14 deletions(-)
Applied to u-boot-dm/next, thanks!