summaryrefslogtreecommitdiff
path: root/include/configs/sc3.h
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2008-09-10 22:48:03 +0200
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2008-09-10 22:48:03 +0200
commit7d9b5bae5ba558c7464d89d033aca04acaf01172 (patch)
tree0e96ee96eb485fe32e09b3e9cf72238165c97a12 /include/configs/sc3.h
parent0cf4fd3cf8d0e00605bec5fc56f89c6415015a46 (diff)
downloadu-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/configs/sc3.h')
-rw-r--r--include/configs/sc3.h2
1 files changed, 1 insertions, 1 deletions
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 */