This is a block length, so typicaly 512 bytes. Reduce the size to 16 bits to save space, before more fields are added in future work.
Signed-off-by: Simon Glass <[email protected]> --- include/spl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/spl.h b/include/spl.h index d90eed956af..1cfaa08ed6a 100644 --- a/include/spl.h +++ b/include/spl.h @@ -309,7 +309,7 @@ struct spl_load_info { spl_load_reader read; void *priv; #if IS_ENABLED(CONFIG_SPL_LOAD_BLOCK) - int bl_len; + u16 bl_len; #endif }; -- 2.43.0

