summaryrefslogtreecommitdiff
path: root/common
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
parent093ae273da8db4d2fc1a0471f7f4fd4d712e2884 (diff)
downloadu-boot-imx-4d816774f120e5f0278197eb9de32a6e318cce04.zip
u-boot-imx-4d816774f120e5f0278197eb9de32a6e318cce04.tar.gz
u-boot-imx-4d816774f120e5f0278197eb9de32a6e318cce04.tar.bz2
Adjustments / cleanup for PPChameleon EVB board
Diffstat (limited to 'common')
-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 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;
}