[PATCH v2 03/12] bloblist: Put the magic number first
Simon Glass
sjg at chromium.org
Thu Jan 13 19:00:49 CET 2022
It seems best to put the magic number right at the start of the bloblist
header, so it is easier to check. This is how devicetree works.
Make this change now, before other projects make use of bloblist. Other
changes may be needed / discussed, but that is TBD.
Add a checker function as well.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
(no changes since v1)
include/bloblist.h | 25 +++++++++++++++++++++++--
test/bloblist.c | 7 +++++++
2 files changed, 30 insertions(+), 2 deletions(-)
Applied to u-boot-dm, thanks!
More information about the U-Boot
mailing list