diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-12-23 18:07:01 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-04-08 00:44:26 -0400 |
commit | d2ab733c0585cb58983eadb82b2be7127e437fd9 (patch) | |
tree | 284e3716b01415aa83526be8afe434b1b19fc808 /include/configs/bf561-ezkit.h | |
parent | 704f1f0c20caf37e3bec9d725ac96c9065aebab6 (diff) | |
download | u-boot-imx-d2ab733c0585cb58983eadb82b2be7127e437fd9.zip u-boot-imx-d2ab733c0585cb58983eadb82b2be7127e437fd9.tar.gz u-boot-imx-d2ab733c0585cb58983eadb82b2be7127e437fd9.tar.bz2 |
Blackfin: bf561-ezkit/ibf-dsp561: invert env offset/addr logic
Have CONFIG_ENV_ADDR be based on CONFIG_ENV_OFFSET rather than the other
way around so that we can use CONFIG_ENV_OFFSET during build. It also
avoids a little address duplication.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'include/configs/bf561-ezkit.h')
-rw-r--r-- | include/configs/bf561-ezkit.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/configs/bf561-ezkit.h b/include/configs/bf561-ezkit.h index 7081d5f..33c7e18 100644 --- a/include/configs/bf561-ezkit.h +++ b/include/configs/bf561-ezkit.h @@ -80,8 +80,8 @@ #define CONFIG_SYS_MAX_FLASH_SECT 135 /* The BF561-EZKIT uses a top boot flash */ #define CONFIG_ENV_IS_IN_FLASH 1 -#define CONFIG_ENV_ADDR 0x20004000 -#define CONFIG_ENV_OFFSET (CONFIG_ENV_ADDR - CONFIG_SYS_FLASH_BASE) +#define CONFIG_ENV_OFFSET 0x4000 +#define CONFIG_ENV_ADDR (CONFIG_SYS_FLASH_BASE + CONFIG_ENV_OFFSET) #define CONFIG_ENV_SIZE 0x2000 #define CONFIG_ENV_SECT_SIZE 0x10000 #if (CONFIG_BFIN_BOOT_MODE == BFIN_BOOT_BYPASS) |