On Tue, 7 Jan 2025 at 08:03, Raymond Mao <[email protected]> wrote:
>
> bloblist_find function only returns the pointer of blob data,
> which is fine for those self-describing data like FDT.
> But as a common scenario, an interface is needed to retrieve both
> the pointer and the size of the blob data.
>
> Add a few ut test cases for the new api.
>
> Signed-off-by: Raymond Mao <[email protected]>
> ---
> Changes in v2
> - Rename function argument.
> - Add ut tests.
>
>  common/bloblist.c      | 17 +++++++++++++++--
>  include/bloblist.h     | 18 ++++++++++++++++++
>  test/common/bloblist.c |  4 ++++
>  3 files changed, 37 insertions(+), 2 deletions(-)
>

Reviewed-by: Simon Glass <[email protected]>

Reply via email to