From 4d816774f120e5f0278197eb9de32a6e318cce04 Mon Sep 17 00:00:00 2001 From: wdenk Date: Wed, 3 Sep 2003 14:03:26 +0000 Subject: Adjustments / cleanup for PPChameleon EVB board --- common/cmd_nand.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'common') 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; } -- cgit v1.1