]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
Write operation is working. Turned out that the READSTATUS hack was wrong
authorMarkus Klotzbücher <Markus Klotzbümk@pollux.denx.de>
Fri, 3 Mar 2006 15:09:28 +0000 (16:09 +0100)
committerMarkus Klotzbücher <mk@pollux.denx.de>
Fri, 3 Mar 2006 15:09:28 +0000 (16:09 +0100)
after all.

board/delta/nand.c

index e09b92aa03787e36990aaa0ed1853ea0c5ce1d0f..d37a49e1950170df0d99784b2752b6212481b076 100644 (file)
@@ -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");