summaryrefslogtreecommitdiff
path: root/include/configs/pdnb3.h
diff options
context:
space:
mode:
authorroy zang <tie-fei.zang@freescale.com>2007-02-12 11:24:27 +0800
committerZang Tiefei <roy@bus.ap.freescale.net>2007-02-12 11:24:27 +0800
commit30bddf2c46ab2e824f217a38db033118ac4622af (patch)
tree2969155507e6902a7dddebad6c7c9ba259e816be /include/configs/pdnb3.h
parentc1c52e38d35ff01f08b55377126c979a08fbdb1d (diff)
parentb0b1a920aebead0d44146e73676ae9d80fffc8e2 (diff)
downloadu-boot-imx-30bddf2c46ab2e824f217a38db033118ac4622af.zip
u-boot-imx-30bddf2c46ab2e824f217a38db033118ac4622af.tar.gz
u-boot-imx-30bddf2c46ab2e824f217a38db033118ac4622af.tar.bz2
Merge branch 'master' into hpc2
Diffstat (limited to 'include/configs/pdnb3.h')
-rw-r--r--include/configs/pdnb3.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/include/configs/pdnb3.h b/include/configs/pdnb3.h
index 2cc137c..06c6652 100644
--- a/include/configs/pdnb3.h
+++ b/include/configs/pdnb3.h
@@ -1,5 +1,5 @@
/*
- * (C) Copyright 2006
+ * (C) Copyright 2006-2007
* Stefan Roese, DENX Software Engineering, sr@denx.de.
*
* Configuation settings for the PDNB3 board.
@@ -237,18 +237,19 @@
#define CFG_ENV_IS_IN_FLASH 1
+#define CFG_ENV_ADDR (CFG_FLASH_BASE + CFG_MONITOR_LEN)
#if defined(CONFIG_SCPU)
-#define CFG_ENV_SECT_SIZE 0x20000 /* size of one complete sector */
+/* no redundant environment on SCPU */
+#define CFG_ENV_SECT_SIZE 0x20000 /* size of one complete sector */
#define CFG_ENV_SIZE 0x4000 /* Total Size of Environment Sector */
#else
-#define CFG_ENV_SECT_SIZE 0x1000 /* size of one complete sector */
+#define CFG_ENV_SECT_SIZE 0x1000 /* size of one complete sector */
#define CFG_ENV_SIZE 0x1000 /* Total Size of Environment Sector */
-#endif
-#define CFG_ENV_ADDR (CFG_FLASH_BASE + CFG_MONITOR_LEN)
/* Address and size of Redundant Environment Sector */
#define CFG_ENV_ADDR_REDUND (CFG_ENV_ADDR + CFG_ENV_SECT_SIZE)
#define CFG_ENV_SIZE_REDUND (CFG_ENV_SIZE)
+#endif
#if !defined(CONFIG_SCPU)
/*