[PATCH 15/21] bloblist: Add a new function to add or check size

sjg at google.com sjg at google.com
Wed Feb 5 18:55:10 CET 2020


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 at chromium.org>
---

 common/bloblist.c  | 15 +++++++++++++++
 include/bloblist.h | 13 +++++++++++++
 test/bloblist.c    | 34 ++++++++++++++++++++++++++++++++++
 3 files changed, 62 insertions(+)

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list