Put these fields near the top and together, since they have the same
alignment.
Signed-off-by: Simon Glass <sjg@chromium.org>
*/
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
*
* @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
*
* 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
*/