]> Git Repo - J-u-boot.git/blobdiff - include/environment.h
env: Rename the redundancy flags
[J-u-boot.git] / include / environment.h
index c3e8d7840a88dd402d5e29183448bfe242d783ee..70ee0fdb192c6d80bad3ad741d167ff21a5ea148 100644 (file)
@@ -135,9 +135,6 @@ extern unsigned long nand_env_oob_offset;
 
 #ifdef CONFIG_SYS_REDUNDAND_ENVIRONMENT
 # define ENV_HEADER_SIZE       (sizeof(uint32_t) + 1)
-
-# define ACTIVE_FLAG   1
-# define OBSOLETE_FLAG 0
 #else
 # define ENV_HEADER_SIZE       (sizeof(uint32_t))
 #endif
@@ -147,7 +144,7 @@ extern unsigned long nand_env_oob_offset;
 typedef struct environment_s {
        uint32_t        crc;            /* CRC32 over data bytes        */
 #ifdef CONFIG_SYS_REDUNDAND_ENVIRONMENT
-       unsigned char   flags;          /* active/obsolete flags        */
+       unsigned char   flags;          /* active/obsolete flags ENVF_REDUND_ */
 #endif
        unsigned char   data[ENV_SIZE]; /* Environment data             */
 } env_t;
This page took 0.027186 seconds and 4 git commands to generate.