diff options
author | Markus Klotzbücher <Markus Klotzbümk@pollux.denx.de> | 2006-03-03 16:09:28 +0100 |
---|---|---|
committer | Markus Klotzbücher <mk@pollux.denx.de> | 2006-03-03 16:09:28 +0100 |
commit | 24e1217be3b3c912ec8f7796195fda41275a7f2f (patch) | |
tree | 480396b361a853cda05132dbb4931873323ecd69 | |
parent | 9187a35b6c3167162c156a24e90622463e2ced08 (diff) |
Write operation is working. Turned out that the READSTATUS hack was wrong
after all.
-rw-r--r-- | board/delta/nand.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/board/delta/nand.c b/board/delta/nand.c index e09b92aa03..d37a49e195 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"); |