summaryrefslogtreecommitdiff
path: root/include/asm-generic
diff options
context:
space:
mode:
authorSimon Glass <[email protected]>2024-08-21 10:19:22 -0600
committerTom Rini <[email protected]>2024-08-26 14:06:08 -0600
commitbab88e83299cf2a45e6818942474f63dfa00182e (patch)
tree09c9106ba4000aff0cd323f1d8bfe7c657193d83 /include/asm-generic
parentde869f7c583b55c50b7ff855ace77edaff0700c2 (diff)
global_data: Move ulong fields together
Move all the always-present ulong fields next to the others at the top of global_data Signed-off-by: Simon Glass <[email protected]>
Diffstat (limited to 'include/asm-generic')
-rw-r--r--include/asm-generic/global_data.h50
1 files changed, 25 insertions, 25 deletions
diff --git a/include/asm-generic/global_data.h b/include/asm-generic/global_data.h
index 841c1b35514..05a0f6f0ff9 100644
--- a/include/asm-generic/global_data.h
+++ b/include/asm-generic/global_data.h
@@ -75,6 +75,31 @@ struct global_data {
*/
unsigned long env_addr;
/**
+ * @ram_base: base address of RAM used by U-Boot
+ */
+ unsigned long ram_base;
+ /**
+ * @relocaddr: start address of U-Boot in RAM
+ *
+ * After relocation this field indicates the address to which U-Boot
+ * has been relocated. It can be displayed using the bdinfo command.
+ * Its value is needed to display the source code when debugging with
+ * GDB using the 'add-symbol-file u-boot <relocaddr>' command.
+ */
+ unsigned long relocaddr;
+ /**
+ * @irq_sp: IRQ stack pointer
+ */
+ unsigned long irq_sp;
+ /**
+ * @start_addr_sp: initial stack pointer address
+ */
+ unsigned long start_addr_sp;
+ /**
+ * @reloc_off: relocation offset
+ */
+ unsigned long reloc_off;
+ /**
* @bus_clk: platform clock rate in Hz
*/
unsigned int bus_clk;
@@ -107,31 +132,6 @@ struct global_data {
*/
char env_load_prio;
/**
- * @ram_base: base address of RAM used by U-Boot
- */
- unsigned long ram_base;
- /**
- * @relocaddr: start address of U-Boot in RAM
- *
- * After relocation this field indicates the address to which U-Boot
- * has been relocated. It can be displayed using the bdinfo command.
- * Its value is needed to display the source code when debugging with
- * GDB using the 'add-symbol-file u-boot <relocaddr>' command.
- */
- unsigned long relocaddr;
- /**
- * @irq_sp: IRQ stack pointer
- */
- unsigned long irq_sp;
- /**
- * @start_addr_sp: initial stack pointer address
- */
- unsigned long start_addr_sp;
- /**
- * @reloc_off: relocation offset
- */
- unsigned long reloc_off;
- /**
* @new_gd: pointer to relocated global data
*/
struct global_data *new_gd;