Browse Source

Minor fixes for PPChameleon Board:
* fix alignment of NAND size
* make code do what the comment says

Wolfgang Denk 20 years ago
parent
commit
0f18cb6eef
3 changed files with 6 additions and 2 deletions
  1. 4 0
      CHANGELOG
  2. 1 1
      board/dave/PPChameleonEVB/PPChameleonEVB.c
  3. 1 1
      include/configs/PPChameleonEVB.h

+ 4 - 0
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.

+ 1 - 1
board/dave/PPChameleonEVB/PPChameleonEVB.c

@@ -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
 

+ 1 - 1
include/configs/PPChameleonEVB.h

@@ -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))