From: Simon Glass Date: Wed, 21 Aug 2024 16:19:21 +0000 (-0600) Subject: global_data: Put phys_addr fields near the top X-Git-Url: http://git.dujemihanovic.xyz/%22/img/sics.gif/%22/static/git-favicon.png?a=commitdiff_plain;h=de869f7c583b55c50b7ff855ace77edaff0700c2;p=u-boot.git 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 --- diff --git a/include/asm-generic/global_data.h b/include/asm-generic/global_data.h index b33e4e98ef..841c1b3551 100644 --- a/include/asm-generic/global_data.h +++ b/include/asm-generic/global_data.h @@ -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 ' command. */ unsigned long relocaddr; - /** - * @ram_size: RAM size in bytes - */ - phys_size_t ram_size; /** * @irq_sp: IRQ stack pointer */