summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2024-08-21 10:19:20 -0600
committerTom Rini <trini@konsulko.com>2024-08-26 14:06:08 -0600
commit6120d45b706ec8024c3e4eee8091d9ecbf0a16f1 (patch)
tree8772e7cf50cfae16d6a92354959add9869f45388
parent97c17e4ca92838ec60a5538764e3b8fbe22e8bfb (diff)
global_data: Move env_addr field higher
Move this field to be with others of the same alignment. Signed-off-by: Simon Glass <sjg@chromium.org>
-rw-r--r--include/asm-generic/global_data.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/include/asm-generic/global_data.h b/include/asm-generic/global_data.h
index 5dc09fcc98a..b33e4e98efc 100644
--- a/include/asm-generic/global_data.h
+++ b/include/asm-generic/global_data.h
@@ -60,6 +60,13 @@ struct global_data {
*/
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
*/
unsigned int bus_clk;
@@ -76,13 +83,6 @@ struct global_data {
*/
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
*
* &enum env_location defines which bit relates to which location