From 6120d45b706ec8024c3e4eee8091d9ecbf0a16f1 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Wed, 21 Aug 2024 10:19:20 -0600 Subject: [PATCH] global_data: Move env_addr field higher Move this field to be with others of the same alignment. Signed-off-by: Simon Glass --- include/asm-generic/global_data.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/include/asm-generic/global_data.h b/include/asm-generic/global_data.h index 5dc09fcc98..b33e4e98ef 100644 --- a/include/asm-generic/global_data.h +++ b/include/asm-generic/global_data.h @@ -59,6 +59,13 @@ struct global_data { * @cpu_clk: CPU clock rate in Hz */ unsigned long cpu_clk; + /** + * @env_addr: address of environment structure + * + * @env_addr contains the address of the structure holding the + * environment variables. + */ + unsigned long env_addr; /** * @bus_clk: platform clock rate in Hz */ @@ -75,13 +82,6 @@ struct global_data { * @baudrate: baud rate of the serial interface */ unsigned int baudrate; - /** - * @env_addr: address of environment structure - * - * @env_addr contains the address of the structure holding the - * environment variables. - */ - unsigned long env_addr; /** * @env_has_init: bit mask indicating environment locations * -- 2.39.5