diff options
| author | Rasmus Villemoes <[email protected]> | 2025-10-23 10:47:59 +0200 |
|---|---|---|
| committer | Fabio Estevam <[email protected]> | 2025-10-30 12:39:12 -0300 |
| commit | 4772cf97f083a5fcdcbd497b42edc4d46f6a17e9 (patch) | |
| tree | 50c8dacacf14b7d3c1ae0c3d46af3a9a04e4adbf /include/debug_uart.h | |
| parent | 8690133debf5d2caa624a658ac33fb43b9329bbd (diff) | |
liebherr: btt: shrink spl_board_init
This board is very tight on space in SPL; in fact with my compiler it
ends up just exactly on the wrong side:
spl/u-boot-spl.bin exceeds file size limit:
limit: 0xa000 bytes
actual: 0xa014 bytes
excess: 0x14 bytes
The repeated "lookup and request" pattern in spl_board_init() suggests
a low-hanging fruit for reducing the code size. This reduces the
object size of spl/board/liebherr/btt/btt.o by 300 bytes.
I've left the lack of error handling as-is; there isn't really
anything to do if it fails, so I suppose the printfs are the best that
can be done.
Signed-off-by: Rasmus Villemoes <[email protected]>
Diffstat (limited to 'include/debug_uart.h')
0 files changed, 0 insertions, 0 deletions
