image: Fix BOOTM_STATE values

Tidy up the code style for these.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass 2022-09-06 20:26:49 -06:00 committed by Tom Rini
parent 01c88e3dcd
commit c56b2bb9b9

View file

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