projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9187a35
)
Write operation is working. Turned out that the READSTATUS hack was wrong
author
Markus Klotzbücher
<Markus Klotzbümk@pollux.denx.de>
Fri, 3 Mar 2006 15:09:28 +0000
(16:09 +0100)
committer
Markus Klotzbücher
<mk@pollux.denx.de>
Fri, 3 Mar 2006 15:09:28 +0000
(16:09 +0100)
after all.
board/delta/nand.c
patch
|
blob
|
history
diff --git
a/board/delta/nand.c
b/board/delta/nand.c
index e09b92aa03787e36990aaa0ed1853ea0c5ce1d0f..d37a49e1950170df0d99784b2752b6212481b076 100644
(file)
--- 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");