]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
image: Fix BOOTM_STATE values
authorSimon Glass <sjg@chromium.org>
Wed, 7 Sep 2022 02:26:49 +0000 (20:26 -0600)
committerTom Rini <trini@konsulko.com>
Thu, 29 Sep 2022 20:07:57 +0000 (16:07 -0400)
Tidy up the code style for these.

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

index 03424f052199822768b240e91fa0ad2a987014d1..80e58559d08d60d1fa3cba9e63a82ec09909106d 100644 (file)
@@ -341,18 +341,18 @@ typedef struct bootm_headers {
 
        int             verify;         /* env_get("verify")[0] != 'n' */
 
-#define        BOOTM_STATE_START       (0x00000001)
-#define        BOOTM_STATE_FINDOS      (0x00000002)
-#define        BOOTM_STATE_FINDOTHER   (0x00000004)
-#define        BOOTM_STATE_LOADOS      (0x00000008)
-#define        BOOTM_STATE_RAMDISK     (0x00000010)
-#define        BOOTM_STATE_FDT         (0x00000020)
-#define        BOOTM_STATE_OS_CMDLINE  (0x00000040)
-#define        BOOTM_STATE_OS_BD_T     (0x00000080)
-#define        BOOTM_STATE_OS_PREP     (0x00000100)
-#define        BOOTM_STATE_OS_FAKE_GO  (0x00000200)    /* 'Almost' run the OS */
-#define        BOOTM_STATE_OS_GO       (0x00000400)
-#define        BOOTM_STATE_PRE_LOAD    0x00000800
+#define BOOTM_STATE_START      0x00000001
+#define BOOTM_STATE_FINDOS     0x00000002
+#define BOOTM_STATE_FINDOTHER  0x00000004
+#define BOOTM_STATE_LOADOS     0x00000008
+#define BOOTM_STATE_RAMDISK    0x00000010
+#define BOOTM_STATE_FDT                0x00000020
+#define BOOTM_STATE_OS_CMDLINE 0x00000040
+#define BOOTM_STATE_OS_BD_T    0x00000080
+#define BOOTM_STATE_OS_PREP    0x00000100
+#define BOOTM_STATE_OS_FAKE_GO 0x00000200      /* 'Almost' run the OS */
+#define BOOTM_STATE_OS_GO      0x00000400
+#define BOOTM_STATE_PRE_LOAD   0x00000800
        int             state;
 
 #if defined(CONFIG_LMB) && !defined(USE_HOSTCC)