diff options
author | Juergen Beisert <jbe@kreuzholzen.de> | 2011-03-12 20:14:53 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2011-03-14 12:11:19 +0100 |
commit | e9b317917706872856650370924b2a194c4c63fb (patch) | |
tree | 05672851f9b2af6129ffda759209e8494cce343a /drivers/mtd | |
parent | 1b1eca6b06be54c807073500213e2f0f166e4f2a (diff) | |
download | barebox-e9b317917706872856650370924b2a194c4c63fb.tar.gz barebox-e9b317917706872856650370924b2a194c4c63fb.tar.xz |
S3C24xx/NFC: Remove dead code
Something was to be done here. But I do not remember what. As it works also
without it, remove this dead code.
Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/mtd')
-rw-r--r-- | drivers/mtd/nand/nand_s3c2410.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/drivers/mtd/nand/nand_s3c2410.c b/drivers/mtd/nand/nand_s3c2410.c index 6ee3b83923..05a6a87d09 100644 --- a/drivers/mtd/nand/nand_s3c2410.c +++ b/drivers/mtd/nand/nand_s3c2410.c @@ -272,8 +272,7 @@ static int s3c2410_nand_correct_data(struct mtd_info *mtd, uint8_t *dat, * to see if we have an 0xff,0xff,0xff read ECC and then ignore * the error, on the assumption that this is an un-eccd page. */ - if (read_ecc[0] == 0xff && read_ecc[1] == 0xff && read_ecc[2] == 0xff - /* && info->platform->ignore_unset_ecc */) + if (read_ecc[0] == 0xff && read_ecc[1] == 0xff && read_ecc[2] == 0xff) return 0; /* Can we correct this ECC (ie, one row and column change). @@ -431,10 +430,7 @@ static int s3c24x0_nand_probe(struct device_d *dev) mtd->priv = chip; /* init the default settings */ -#if 0 - /* TODO: Will follow later */ - init_nand_chip_bw8(chip); -#endif + /* 50 us command delay time */ chip->chip_delay = 50; chip->priv = host; |