summaryrefslogtreecommitdiff
path: root/board/delta/nand.c
diff options
context:
space:
mode:
authorMarkus Klotzbuecher <mk@denx.de>2006-03-20 20:19:37 +0100
committerMarkus Klotzbücher <mk@pollux.denx.de>2006-03-20 20:19:37 +0100
commit552fc624f28d5db7b25f38c4e104fb7255d7df6b (patch)
tree897976163b61bc4d67123c09c426f7840d9515e8 /board/delta/nand.c
parente443c944cf4050daffb46d4788446d6c2df8ac6c (diff)
downloadu-boot-imx-552fc624f28d5db7b25f38c4e104fb7255d7df6b.zip
u-boot-imx-552fc624f28d5db7b25f38c4e104fb7255d7df6b.tar.gz
u-boot-imx-552fc624f28d5db7b25f38c4e104fb7255d7df6b.tar.bz2
Cleanup of the monahans cpu and delta board port.
Diffstat (limited to 'board/delta/nand.c')
-rw-r--r--board/delta/nand.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/board/delta/nand.c b/board/delta/nand.c
index 50def59..c332f71 100644
--- a/board/delta/nand.c
+++ b/board/delta/nand.c
@@ -293,11 +293,6 @@ static int dfc_wait(struct mtd_info *mtd, struct nand_chip *this, int state)
{
unsigned long ndsr=0, event=0;
- /* mk@tbd set appropriate timeouts */
- /* if (state == FL_ERASING) */
- /* timeo = CFG_HZ * 400; */
- /* else */
- /* timeo = CFG_HZ * 20; */
if(state == FL_WRITING) {
event = NDSR_CS0_CMDD | NDSR_CS0_BBD;
} else if(state == FL_ERASING) {
@@ -563,13 +558,12 @@ void board_nand_init(struct nand_chip *nand)
/* wait 10 us due to cmd buffer clear reset */
- /* wait(10); */
+ /* wait(10); */
nand->hwcontrol = dfc_hwcontrol;
-/* nand->dev_ready = dfc_device_ready; */
+/* nand->dev_ready = dfc_device_ready; */
nand->eccmode = NAND_ECC_SOFT;
- nand->chip_delay = NAND_DELAY_US;
nand->options = NAND_BUSWIDTH_16;
nand->waitfunc = dfc_wait;
nand->read_byte = dfc_read_byte;