diff options
author | wdenk <wdenk> | 2003-09-03 14:03:26 +0000 |
---|---|---|
committer | wdenk <wdenk> | 2003-09-03 14:03:26 +0000 |
commit | 4d816774f120e5f0278197eb9de32a6e318cce04 (patch) | |
tree | f07072c27e1041c7200ce371119fd88641ab71b1 /common/cmd_nand.c | |
parent | 093ae273da8db4d2fc1a0471f7f4fd4d712e2884 (diff) | |
download | bootable_bootloader_goldelico_gta04-4d816774f120e5f0278197eb9de32a6e318cce04.zip bootable_bootloader_goldelico_gta04-4d816774f120e5f0278197eb9de32a6e318cce04.tar.gz bootable_bootloader_goldelico_gta04-4d816774f120e5f0278197eb9de32a6e318cce04.tar.bz2 |
Adjustments / cleanup for PPChameleon EVB board
Diffstat (limited to 'common/cmd_nand.c')
-rw-r--r-- | common/cmd_nand.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/common/cmd_nand.c b/common/cmd_nand.c index 26cbe5d..ce7b5ff 100644 --- a/common/cmd_nand.c +++ b/common/cmd_nand.c @@ -639,7 +639,9 @@ static int NanD_IdentChip(struct nand_chip *nand, int floor, int chip) NAND_DISABLE_CE(nand); /* set pin high */ /* No response - return failure */ if (mfr == 0xff || mfr == 0) { +#ifdef NAND_DEBUG printf("NanD_Command (ReadID) got %d %d\n", mfr, id); +#endif return 0; } @@ -732,7 +734,7 @@ static void NanD_ScanChips(struct nand_chip *nand) /* If there are none at all that we recognise, bail */ if (!nand->numchips) { - puts ("No flash chips recognised.\n"); + puts ("No NAND flash chips recognised.\n"); return; } |