Minor fixes for PPChameleon Board:

* fix alignment of NAND size
* make code do what the comment says
This commit is contained in:
Wolfgang Denk 2005-07-31 00:30:09 +02:00
parent cf99192394
commit 0f18cb6eef
3 changed files with 6 additions and 2 deletions

View file

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

View 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

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