mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-05-05 04:36:13 +02:00
global_data: Put phys_addr fields near the top
Put these fields near the top and together, since they have the same alignment. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
6120d45b70
commit
de869f7c58
@ -49,6 +49,14 @@ struct global_data {
|
||||
*/
|
||||
struct board_f *boardf;
|
||||
#endif
|
||||
/**
|
||||
* @ram_size: RAM size in bytes
|
||||
*/
|
||||
phys_size_t ram_size;
|
||||
/**
|
||||
* @ram_top: top address of RAM used by U-Boot
|
||||
*/
|
||||
phys_addr_t ram_top;
|
||||
/**
|
||||
* @flags: global data flags
|
||||
*
|
||||
@ -102,10 +110,6 @@ struct global_data {
|
||||
* @ram_base: base address of RAM used by U-Boot
|
||||
*/
|
||||
unsigned long ram_base;
|
||||
/**
|
||||
* @ram_top: top address of RAM used by U-Boot
|
||||
*/
|
||||
phys_addr_t ram_top;
|
||||
/**
|
||||
* @relocaddr: start address of U-Boot in RAM
|
||||
*
|
||||
@ -115,10 +119,6 @@ struct global_data {
|
||||
* GDB using the 'add-symbol-file u-boot <relocaddr>' command.
|
||||
*/
|
||||
unsigned long relocaddr;
|
||||
/**
|
||||
* @ram_size: RAM size in bytes
|
||||
*/
|
||||
phys_size_t ram_size;
|
||||
/**
|
||||
* @irq_sp: IRQ stack pointer
|
||||
*/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user