]> git.dujemihanovic.xyz Git - u-boot.git/commit
global_data: Reduce the size of mon_len
authorSimon Glass <sjg@chromium.org>
Wed, 21 Aug 2024 16:19:16 +0000 (10:19 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 26 Aug 2024 20:05:38 +0000 (14:05 -0600)
commit5aa828e3c68b17c9330bc360332dfcda713b408b
tree960150939c549415aa57f6d0393d2933aac8d6e2
parent80166ea20baaa129b3c1dfa50ebee7ccf17ee17e
global_data: Reduce the size of mon_len

This is the length of the U-Boot binary, which is typically 200-800KB
and certainly not larger than 4GB. Use a 32-bit value to save space in
global_data and move it up to be with fields of the same alignment.

Signed-off-by: Simon Glass <sjg@chromium.org>
common/board_f.c
include/asm-generic/global_data.h