[PATCH 01/19] spl: Reduce the size of the bl_len field
Simon Glass
sjg at chromium.org
Wed Sep 25 14:55:27 CEST 2024
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 <sjg at chromium.org>
---
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
More information about the U-Boot
mailing list