]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/tqm8xx/flash.c
* Make Ethernet autonegotiation on INCA-IP work for all clock rates;
[karo-tx-uboot.git] / board / tqm8xx / flash.c
index d949c2eb6bf4d626a1ee0610b4812c3bbc06ffd5..a974e2338af44db34796d964da2da013c789a733 100644 (file)
@@ -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,