summaryrefslogtreecommitdiff
path: root/common/cmd_nand.c
diff options
context:
space:
mode:
authorStelian Pop <stelian@popies.net>2008-05-13 17:31:24 +0200
committerScott Wood <scottwood@freescale.com>2008-05-28 11:06:25 -0500
commit5922db6c0948506be91e0de44e7a6863a18a417f (patch)
treeb2bb938dff0307fc1b9f84281b0ea98490b1623c /common/cmd_nand.c
parent135f0a7488af2947adbe4b40b79280bdfe5e9886 (diff)
Cleanup nand_info[] declaration.
The nand_info array is declared as extern in several .c files. Those days, nand.h contains a reference to the array, so there is no need to declare it elsewhere. Signed-off-by: Stelian Pop <stelian@popies.net> Signed-off-by: Scott Wood <scottwood@freescale.com>
Diffstat (limited to 'common/cmd_nand.c')
-rw-r--r--common/cmd_nand.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/common/cmd_nand.c b/common/cmd_nand.c
index 37eb41b20e6..37198d21e8c 100644
--- a/common/cmd_nand.c
+++ b/common/cmd_nand.c
@@ -37,8 +37,6 @@ int find_dev_and_part(const char *id, struct mtd_device **dev,
u8 *part_num, struct part_info **part);
#endif
-extern nand_info_t nand_info[]; /* info for NAND chips */
-
static int nand_dump_oob(nand_info_t *nand, ulong off)
{
return 0;