diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2008-09-10 22:48:03 +0200 |
---|---|---|
committer | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2008-09-10 22:48:03 +0200 |
commit | 7d9b5bae5ba558c7464d89d033aca04acaf01172 (patch) | |
tree | 0e96ee96eb485fe32e09b3e9cf72238165c97a12 /include | |
parent | 0cf4fd3cf8d0e00605bec5fc56f89c6415015a46 (diff) | |
download | u-boot-imx-7d9b5bae5ba558c7464d89d033aca04acaf01172.zip u-boot-imx-7d9b5bae5ba558c7464d89d033aca04acaf01172.tar.gz u-boot-imx-7d9b5bae5ba558c7464d89d033aca04acaf01172.tar.bz2 |
cleanup use of CFG_ENV_IS_IN_FLASH
- #if CFG_ENV_IS_IN_FLASH
- #if (CFG_ENV_IS_IN_FLASH == 1)
- #define CFG_ENV_IS_IN_FLASH 0
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/CPCI750.h | 2 | ||||
-rw-r--r-- | include/configs/grsim.h | 2 | ||||
-rw-r--r-- | include/configs/grsim_leon2.h | 2 | ||||
-rw-r--r-- | include/configs/pf5200.h | 2 | ||||
-rw-r--r-- | include/configs/sc3.h | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/include/configs/CPCI750.h b/include/configs/CPCI750.h index 4818aed..48f308c 100644 --- a/include/configs/CPCI750.h +++ b/include/configs/CPCI750.h @@ -572,7 +572,7 @@ #define CFG_FLASH_LOCK_TOUT 500 /* Timeout for Flash Lock (in ms) */ #if 0 -#define CFG_ENV_IS_IN_FLASH 0 +#define CFG_ENV_IS_IN_FLASH #define CFG_ENV_SIZE 0x1000 /* Total Size of Environment Sector */ #define CFG_ENV_SECT_SIZE 0x10000 #define CFG_ENV_ADDR 0xFFF78000 /* Marvell 8-Bit Bootflash last sector */ diff --git a/include/configs/grsim.h b/include/configs/grsim.h index c6d3666..a23ac9c 100644 --- a/include/configs/grsim.h +++ b/include/configs/grsim.h @@ -210,7 +210,7 @@ * Environment settings */ #define CONFIG_ENV_IS_NOWHERE 1 -/*#define CFG_ENV_IS_IN_FLASH 0*/ +/*#define CFG_ENV_IS_IN_FLASH*/ /*#define CFG_ENV_SIZE 0x8000*/ #define CFG_ENV_SECT_SIZE 0x40000 #define CONFIG_ENV_OVERWRITE 1 diff --git a/include/configs/grsim_leon2.h b/include/configs/grsim_leon2.h index 945a163..c45b258 100644 --- a/include/configs/grsim_leon2.h +++ b/include/configs/grsim_leon2.h @@ -207,7 +207,7 @@ * Environment settings */ #define CONFIG_ENV_IS_NOWHERE 1 -/*#define CFG_ENV_IS_IN_FLASH 0*/ +/*#define CFG_ENV_IS_IN_FLASH*/ /*#define CFG_ENV_SIZE 0x8000*/ #define CFG_ENV_SECT_SIZE 0x40000 #define CONFIG_ENV_OVERWRITE 1 diff --git a/include/configs/pf5200.h b/include/configs/pf5200.h index 4ed8a21..a709d0e 100644 --- a/include/configs/pf5200.h +++ b/include/configs/pf5200.h @@ -205,7 +205,7 @@ * Environment settings */ #if 1 /* test-only */ -#define CFG_ENV_IS_IN_FLASH 0 +#define CFG_ENV_IS_IN_FLASH #define CFG_ENV_SIZE 0x10000 #define CFG_ENV_SECT_SIZE 0x10000 #define CONFIG_ENV_OVERWRITE 1 diff --git a/include/configs/sc3.h b/include/configs/sc3.h index 659f74e..4205f46 100644 --- a/include/configs/sc3.h +++ b/include/configs/sc3.h @@ -405,7 +405,7 @@ extern unsigned long offsetOfEnvironment; #define CFG_WRITE_SWAPPED_DATA /* swap Databytes between reading/writing */ #define CFG_ENV_IS_IN_FLASH 1 -#if CFG_ENV_IS_IN_FLASH +#ifdef CFG_ENV_IS_IN_FLASH #define CFG_ENV_OFFSET 0x00000000 /* Offset of Environment Sector in bottom type */ #define CFG_ENV_SIZE 0x4000 /* Total Size of Environment Sector */ #define CFG_ENV_SECT_SIZE 0x4000 /* see README - env sector total size */ |