[PATCH v5 06/11] bloblist: Checksum the entire bloblist
Simon Glass
sjg at chromium.org
Mon Jan 1 17:53:20 CET 2024
From: Simon Glass <sjg at 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 at chromium.org>
Co-developed-by: Raymond Mao <raymond.mao at linaro.org>
Signed-off-by: Raymond Mao <raymond.mao at linaro.org>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas at 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!
More information about the U-Boot
mailing list