Minor fixes for PPChameleon Board:
authorWolfgang Denk <wd@pollux.(none)>
Sat, 30 Jul 2005 22:30:09 +0000 (00:30 +0200)
committerWolfgang Denk <wd@pollux.(none)>
Sat, 30 Jul 2005 22:30:09 +0000 (00:30 +0200)
* fix alignment of NAND size
* make code do what the comment says

CHANGELOG
board/dave/PPChameleonEVB/PPChameleonEVB.c
include/configs/PPChameleonEVB.h

index bf23537..093169b 100644 (file)
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -2,6 +2,10 @@
 Changes for U-Boot 1.1.3:
 ======================================================================
 
+* Minor fixes for PPChameleon Board:
+  - fix alignment of NAND size
+  - make code do what the comment says
+
 * Implement h/w sector protection status synchronization at boot.
   The code is provided for, and was tested on, the Yukon/Alaska
   and PM520 boards only.
index 0bd43bd..1f6512d 100644 (file)
@@ -261,7 +261,7 @@ nand_init(void)
        debug ("Probing at 0x%.8x\n", CFG_NAND1_BASE);
        totlen += nand_probe (CFG_NAND1_BASE);
 
-       printf ("%4lu MB\n", totlen >>20);
+       printf ("%3lu MB\n", totlen >>20);
 }
 #endif
 
index d7025eb..ca0bd12 100644 (file)
@@ -47,7 +47,7 @@
  * CONFIG_PPCHAMELEON_CLK_33
  */
 #if (!defined(CONFIG_PPCHAMELEON_CLK_25) && !defined(CONFIG_PPCHAMELEON_CLK_33))
-#define CONFIG_PPCHAMELEON_CLK_33
+#define CONFIG_PPCHAMELEON_CLK_25
 #endif
 
 #if (defined(CONFIG_PPCHAMELEON_CLK_25) && defined(CONFIG_PPCHAMELEON_CLK_33))