aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2022-09-06 20:26:49 -0600
committerTom Rini <trini@konsulko.com>2022-09-29 16:07:57 -0400
commitc56b2bb9b9fcdd0c9ff2a76e34495b58bd98559a (patch)
tree8ba65189926f830fd6092e496cae84d3c3db8516
parent01c88e3dcd667281cf3aa6f6b47f90900177aff9 (diff)
downloadu-boot-c56b2bb9b9fcdd0c9ff2a76e34495b58bd98559a.zip
u-boot-c56b2bb9b9fcdd0c9ff2a76e34495b58bd98559a.tar.gz
u-boot-c56b2bb9b9fcdd0c9ff2a76e34495b58bd98559a.tar.bz2
image: Fix BOOTM_STATE values
Tidy up the code style for these. Signed-off-by: Simon Glass <sjg@chromium.org>
-rw-r--r--include/image.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/include/image.h b/include/image.h
index 03424f0..80e5855 100644
--- a/include/image.h
+++ b/include/image.h
@@ -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)