summaryrefslogtreecommitdiffstats
path: root/common/cmd_nand.c
diff options
context:
space:
mode:
authorStelian Pop <stelian@popies.net>2008-05-13 17:31:24 +0200
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2008-05-13 21:49:04 +0200
commit54694a91428f6c3280fe1ee0923488a1e7e8dbc4 (patch)
tree8158f19f09930c1fc97634df21749615d1bc7d32 /common/cmd_nand.c
parent67e3beb52c320b0a31cf030716c99392cde2d532 (diff)
downloadblackbird-obmc-uboot-54694a91428f6c3280fe1ee0923488a1e7e8dbc4.tar.gz
blackbird-obmc-uboot-54694a91428f6c3280fe1ee0923488a1e7e8dbc4.zip
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: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.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 37eb41b20e..37198d21e8 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;
OpenPOWER on IntegriCloud