]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
global_data: Move env_addr field higher
authorSimon Glass <sjg@chromium.org>
Wed, 21 Aug 2024 16:19:20 +0000 (10:19 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 26 Aug 2024 20:06:08 +0000 (14:06 -0600)
Move this field to be with others of the same alignment.

Signed-off-by: Simon Glass <sjg@chromium.org>
include/asm-generic/global_data.h

index 5dc09fcc98a61848db323d7ff15def485ad216f2..b33e4e98efc19f87f61b4f91a975356f019d7f1c 100644 (file)
@@ -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
         *