]> git.baikalelectronics.ru Git - uboot.git/commit
bloblist: Add a new function to add or check size
authorSimon Glass <sjg@chromium.org>
Mon, 27 Jan 2020 15:49:50 +0000 (08:49 -0700)
committerSimon Glass <sjg@chromium.org>
Thu, 6 Feb 2020 02:33:46 +0000 (19:33 -0700)
commit77e75d6297bce1ca44a271d8cbf5e0e0b0537db1
tree35559c0f03ee22ce6a18199c695fdc9edf18618b
parent95a7c6f36c2b212f430449f94eb1b2d8f4809bf2
bloblist: Add a new function to add or check size

A common check is to see if a blob is present, create it if not and make
sure that the size is large enough. Add a function to handle this.

Signed-off-by: Simon Glass <sjg@chromium.org>
common/bloblist.c
include/bloblist.h
test/bloblist.c