diff options
author | Simon Glass <sjg@chromium.org> | 2022-01-22 15:07:27 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-02-09 07:07:59 +0300 |
commit | ce3e75dc5977e6500669fd9418405ddd4207a164 (patch) | |
tree | 57525a0e0cee2fcdbc96c840fda3bb887fd3a979 /include/bloblist.h | |
parent | 097ff01fb98a6f4ad03eed8cf639a5cc90fb6619 (diff) | |
download | u-boot-ce3e75dc5977e6500669fd9418405ddd4207a164.tar.xz |
bloblist: Update to use conditional value
Use the new IF_ENABLED_INT() feature to avoid needing our own inline
function to handle this case. Tidy up the logic to ensure that the value
is only used when present. Update the 'expected' comment also.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/bloblist.h')
-rw-r--r-- | include/bloblist.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/include/bloblist.h b/include/bloblist.h index 173129b027..d0e128acf1 100644 --- a/include/bloblist.h +++ b/include/bloblist.h @@ -147,16 +147,6 @@ struct bloblist_rec { u32 spare; }; -/* access CONFIG_BLOBLIST_ADDR, dealing with it possibly not being defined */ -static inline ulong bloblist_addr(void) -{ -#ifdef CONFIG_BLOBLIST_FIXED - return CONFIG_BLOBLIST_ADDR; -#else - return 0; -#endif -} - /** * bloblist_check_magic() - return a bloblist if the magic matches * |