From 24e1217be3b3c912ec8f7796195fda41275a7f2f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Markus=20Klotzb=FCcher?= Date: Fri, 3 Mar 2006 16:09:28 +0100 Subject: [PATCH] Write operation is working. Turned out that the READSTATUS hack was wrong after all. --- board/delta/nand.c | 2 ++ 1 file changed, 2 insertions(+) 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"); -- 2.25.1