summaryrefslogtreecommitdiff
path: root/common/cmd_nand.c
diff options
context:
space:
mode:
authorwdenk <wdenk>2003-09-03 14:03:26 +0000
committerwdenk <wdenk>2003-09-03 14:03:26 +0000
commit4d816774f120e5f0278197eb9de32a6e318cce04 (patch)
treef07072c27e1041c7200ce371119fd88641ab71b1 /common/cmd_nand.c
parent093ae273da8db4d2fc1a0471f7f4fd4d712e2884 (diff)
Adjustments / cleanup for PPChameleon EVB board
Diffstat (limited to 'common/cmd_nand.c')
-rw-r--r--common/cmd_nand.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/common/cmd_nand.c b/common/cmd_nand.c
index 26cbe5d1f28..ce7b5ff02b3 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;
}