summaryrefslogtreecommitdiff
path: root/board/tqm8xx/flash.c
diff options
context:
space:
mode:
authorwdenk <wdenk>2003-08-17 18:55:18 +0000
committerwdenk <wdenk>2003-08-17 18:55:18 +0000
commite0ac62d798ce60ec5d43125d4786e58b0d881836 (patch)
tree3f32c8f29ff9089ef61099b11d81d51039bf2162 /board/tqm8xx/flash.c
parentae3af05ec986a8ac66dadb5eafe13db2d4a02c5c (diff)
downloadu-boot-imx-e0ac62d798ce60ec5d43125d4786e58b0d881836.zip
u-boot-imx-e0ac62d798ce60ec5d43125d4786e58b0d881836.tar.gz
u-boot-imx-e0ac62d798ce60ec5d43125d4786e58b0d881836.tar.bz2
* Make Ethernet autonegotiation on INCA-IP work for all clock rates;
allow selection of clock frequency as "make" target * Implement memory autosizing code for IceCube boards * Configure network port on INCA-IP for autonegotiation * Fix overflow problem in network timeout code * Patch by Richard Woodruff, 8 Aug 2003: Allow crc32 to be used at address 0x000 (crc32_no_comp, too).
Diffstat (limited to 'board/tqm8xx/flash.c')
-rw-r--r--board/tqm8xx/flash.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/board/tqm8xx/flash.c b/board/tqm8xx/flash.c
index d949c2e..a974e23 100644
--- a/board/tqm8xx/flash.c
+++ b/board/tqm8xx/flash.c
@@ -116,14 +116,15 @@ unsigned long flash_init (void)
#ifdef CFG_ENV_IS_IN_FLASH
/* ENV protection ON by default */
- debug ("Protect %senvironment: %08lx ... %08lx\n",
# ifdef CFG_ENV_ADDR_REDUND
- "primary ",
+ debug ("Protect primary environment: %08lx ... %08lx\n",
+ (ulong)CFG_ENV_ADDR,
+ (ulong)CFG_ENV_ADDR + CFG_ENV_SECT_SIZE - 1);
# else
- "",
-# endif
+ debug ("Protect environment: %08lx ... %08lx\n",
(ulong)CFG_ENV_ADDR,
(ulong)CFG_ENV_ADDR + CFG_ENV_SECT_SIZE - 1);
+# endif
flash_protect(FLAG_PROTECT_SET,
CFG_ENV_ADDR,