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>
diff --git a/include/asm-generic/global_data.h b/include/asm-generic/global_data.h
index b33e4e9..841c1b3 100644
--- a/include/asm-generic/global_data.h
+++ b/include/asm-generic/global_data.h
@@ -50,6 +50,14 @@
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
*
* See &enum gd_flags
@@ -103,10 +111,6 @@
*/
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
*
* After relocation this field indicates the address to which U-Boot
@@ -116,10 +120,6 @@
*/
unsigned long relocaddr;
/**
- * @ram_size: RAM size in bytes
- */
- phys_size_t ram_size;
- /**
* @irq_sp: IRQ stack pointer
*/
unsigned long irq_sp;