summaryrefslogtreecommitdiff
path: root/board/delta
diff options
context:
space:
mode:
authorMarkus Klotzbücher <Markus Klotzbümk@pollux.denx.de>2006-03-03 16:09:28 +0100
committerMarkus Klotzbücher <mk@pollux.denx.de>2006-03-03 16:09:28 +0100
commit24e1217be3b3c912ec8f7796195fda41275a7f2f (patch)
tree480396b361a853cda05132dbb4931873323ecd69 /board/delta
parent9187a35b6c3167162c156a24e90622463e2ced08 (diff)
downloadu-boot-imx-24e1217be3b3c912ec8f7796195fda41275a7f2f.zip
u-boot-imx-24e1217be3b3c912ec8f7796195fda41275a7f2f.tar.gz
u-boot-imx-24e1217be3b3c912ec8f7796195fda41275a7f2f.tar.bz2
Write operation is working. Turned out that the READSTATUS hack was wrong
after all.
Diffstat (limited to 'board/delta')
-rw-r--r--board/delta/nand.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/delta/nand.c b/board/delta/nand.c
index e09b92a..d37a49e 100644
--- a/board/delta/nand.c
+++ b/board/delta/nand.c
@@ -335,12 +335,14 @@ static void delta_cmdfunc(struct mtd_info *mtd, unsigned command,
delta_new_cmd();
ndcb0 = (NAND_CMD_STATUS | (4<<21));
event = NDSR_RDDREQ;
+#ifdef READ_STATUS_BUG
NDCB0 = ndcb0;
NDCB0 = ndcb1;
NDCB0 = ndcb2;
delta_wait_event(event);
what_the_hack = NDDB;
goto end;
+#endif
break;
case NAND_CMD_RESET:
printf("delta_cmdfunc: NAND_CMD_RESET unimplemented.\n");