summaryrefslogtreecommitdiff
path: root/include/configs/sc3.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/configs/sc3.h')
-rw-r--r--include/configs/sc3.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/include/configs/sc3.h b/include/configs/sc3.h
index 659f74e..88a24b8 100644
--- a/include/configs/sc3.h
+++ b/include/configs/sc3.h
@@ -404,15 +404,15 @@ extern unsigned long offsetOfEnvironment;
#define CFG_FLASH_WRITE_TOUT 500 /* Timeout for Flash Write (in ms) */
#define CFG_WRITE_SWAPPED_DATA /* swap Databytes between reading/writing */
-#define CFG_ENV_IS_IN_FLASH 1
-#if 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 */
+#define CONFIG_ENV_IS_IN_FLASH 1
+#ifdef CONFIG_ENV_IS_IN_FLASH
+#define CONFIG_ENV_OFFSET 0x00000000 /* Offset of Environment Sector in bottom type */
+#define CONFIG_ENV_SIZE 0x4000 /* Total Size of Environment Sector */
+#define CONFIG_ENV_SECT_SIZE 0x4000 /* see README - env sector total size */
/* Address and size of Redundant Environment Sector */
-#define CFG_ENV_OFFSET_REDUND (CFG_ENV_OFFSET+CFG_ENV_SIZE)
-#define CFG_ENV_SIZE_REDUND (CFG_ENV_SIZE)
+#define CONFIG_ENV_OFFSET_REDUND (CONFIG_ENV_OFFSET+CONFIG_ENV_SIZE)
+#define CONFIG_ENV_SIZE_REDUND (CONFIG_ENV_SIZE)
#endif
/* let us changing anything in our environment */