diff options
author | wdenk <wdenk> | 2003-09-11 19:48:06 +0000 |
---|---|---|
committer | wdenk <wdenk> | 2003-09-11 19:48:06 +0000 |
commit | a43278a43d522fba7fea0ed3045b718a9c8d22ac (patch) | |
tree | c21920a271992ce76e5e679c3e3e8bb11054d356 /board/dave/PPChameleonEVB/PPChameleonEVB.c | |
parent | 7205e4075d8b50e4dd89fe39ed03860b23cbb704 (diff) | |
download | u-boot-imx-a43278a43d522fba7fea0ed3045b718a9c8d22ac.zip u-boot-imx-a43278a43d522fba7fea0ed3045b718a9c8d22ac.tar.gz u-boot-imx-a43278a43d522fba7fea0ed3045b718a9c8d22ac.tar.bz2 |
* Patch by Gary Jennejohn, 11 Sep 2003:
- allow for longer timeouts for USB mass storage devices
* Patch by Denis Peter, 11 Sep 2003:
- fix USB data pointer assignment for bulk only transfer.
- prevent to display erased directories in FAT filesystem.
* Change output format for NAND flash - make it look like for other
memory, too
Diffstat (limited to 'board/dave/PPChameleonEVB/PPChameleonEVB.c')
-rw-r--r-- | board/dave/PPChameleonEVB/PPChameleonEVB.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/board/dave/PPChameleonEVB/PPChameleonEVB.c b/board/dave/PPChameleonEVB/PPChameleonEVB.c index d015f69..47670fa 100644 --- a/board/dave/PPChameleonEVB/PPChameleonEVB.c +++ b/board/dave/PPChameleonEVB/PPChameleonEVB.c @@ -255,16 +255,20 @@ int testdram (void) /* ------------------------------------------------------------------------- */ #if (CONFIG_COMMANDS & CFG_CMD_NAND) -extern void +extern ulong nand_probe(ulong physadr); void nand_init(void) { + ulong totlen; + debug ("Probing at 0x%.8x\n", CFG_NAND0_BASE); - nand_probe (CFG_NAND0_BASE); + totlen = nand_probe (CFG_NAND0_BASE); debug ("Probing at 0x%.8x\n", CFG_NAND1_BASE); - nand_probe (CFG_NAND1_BASE); + totlen += nand_probe (CFG_NAND1_BASE); + + printf ("%4lu MB\n", totlen >>20); } #endif |