[PATCH v3 1/8] blk: Make functions available unconditionally
Simon Glass
sjg at chromium.org
Fri Oct 18 01:12:07 CEST 2024
Some boards still don't enable BLK but we want to be able to at least
compile the code which relies on this. For example, bootstd includes
calls to blk_...() functions, albeit with a check for BLK so that the
code is eliminated by the compiler.
Reduce the scope of the BLK #ifdef to help with this.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
(no changes since v1)
include/blk.h | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
Applied to u-boot-dm, thanks!
More information about the U-Boot
mailing list