bloblist: Put the magic number first
authorSimon Glass <sjg@chromium.org>
Thu, 13 Jan 2022 02:26:16 +0000 (19:26 -0700)
committerSimon Glass <sjg@chromium.org>
Thu, 13 Jan 2022 16:13:41 +0000 (09:13 -0700)
commitff3bd4983c1fe53975e44668619b07e10f8a0cd9
treef3f4baf4202b775466e556061cbe0700978b0a21
parentf350f67764fe2c18b92da38eec75be359fc825ec
bloblist: Put the magic number first

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@chromium.org>
include/bloblist.h
test/bloblist.c