diff options
| author | Simon Glass <[email protected]> | 2024-08-21 10:19:16 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2024-08-26 14:05:38 -0600 |
| commit | 5aa828e3c68b17c9330bc360332dfcda713b408b (patch) | |
| tree | 960150939c549415aa57f6d0393d2933aac8d6e2 /include | |
| parent | 80166ea20baaa129b3c1dfa50ebee7ccf17ee17e (diff) | |
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 <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/asm-generic/global_data.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/asm-generic/global_data.h b/include/asm-generic/global_data.h index 0c8801500f0..06523cab522 100644 --- a/include/asm-generic/global_data.h +++ b/include/asm-generic/global_data.h @@ -72,6 +72,10 @@ struct global_data { */ unsigned int mem_clk; /** + * @mon_len: monitor length in bytes + */ + unsigned int mon_len; + /** * @env_addr: address of environment structure * * @env_addr contains the address of the structure holding the @@ -116,10 +120,6 @@ struct global_data { */ phys_size_t ram_size; /** - * @mon_len: monitor length in bytes - */ - unsigned long mon_len; - /** * @irq_sp: IRQ stack pointer */ unsigned long irq_sp; |
