summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2008-01-05 16:50:32 +0100
committerScott Wood <scottwood@freescale.com>2008-08-12 11:31:23 -0500
commitdeac913effd8d80535c9ff4687b6fcdff540c554 (patch)
tree461af9ef897186c7d7233d2fa912edaa15b56cbe /common
parentc568f77acdf896fc3dd6413ce53205b17ba809a3 (diff)
downloadu-boot-imx-deac913effd8d80535c9ff4687b6fcdff540c554.zip
u-boot-imx-deac913effd8d80535c9ff4687b6fcdff540c554.tar.gz
u-boot-imx-deac913effd8d80535c9ff4687b6fcdff540c554.tar.bz2
NAND: Fix compilation warning and small coding style issue
Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'common')
-rw-r--r--common/cmd_nand.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/common/cmd_nand.c b/common/cmd_nand.c
index af1b1ca..710ba8f 100644
--- a/common/cmd_nand.c
+++ b/common/cmd_nand.c
@@ -50,7 +50,6 @@ static int nand_dump(nand_info_t *nand, ulong off, int only_oob)
return 1;
}
off &= ~(nand->writesize - 1);
- size_t dummy;
loff_t addr = (loff_t) off;
struct mtd_oob_ops ops;
memset(&ops, 0, sizeof(ops));
@@ -415,7 +414,7 @@ int do_nand(cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
}
/*
* ! BROKEN !
- *
+ *
* TODO: must be implemented and tested by someone with HW
*/
#if 0
@@ -469,7 +468,7 @@ int do_nand(cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
/*
* ! BROKEN !
- *
+ *
* TODO: must be implemented and tested by someone with HW
*/
#if 0