mirror of
https://xff.cz/git/u-boot/
synced 2025-09-03 01:32:47 +02:00
bloblist: Add functions to obtain base address and size
Add a few convenience functions to obtain useful information about the bloblist. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -302,6 +302,20 @@ int bloblist_finish(void);
|
||||
*/
|
||||
void bloblist_get_stats(ulong *basep, ulong *sizep, ulong *allocedp);
|
||||
|
||||
/**
|
||||
* bloblist_get_base() - Get the base address of the bloblist
|
||||
*
|
||||
* @returns base address of bloblist
|
||||
*/
|
||||
ulong bloblist_get_base(void);
|
||||
|
||||
/**
|
||||
* bloblist_get_size() - Get the size of the bloblist
|
||||
*
|
||||
* @returns the size in bytes
|
||||
*/
|
||||
ulong bloblist_get_size(void);
|
||||
|
||||
/**
|
||||
* bloblist_show_stats() - Show information about the bloblist
|
||||
*
|
||||
|
Reference in New Issue
Block a user