summaryrefslogtreecommitdiff
path: root/src/flash/nand
diff options
context:
space:
mode:
Diffstat (limited to 'src/flash/nand')
-rw-r--r--src/flash/nand/davinci.c1
-rw-r--r--src/flash/nand/orion.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/flash/nand/davinci.c b/src/flash/nand/davinci.c
index 40be36d4..66770737 100644
--- a/src/flash/nand/davinci.c
+++ b/src/flash/nand/davinci.c
@@ -710,6 +710,7 @@ NAND_DEVICE_COMMAND_HANDLER(davinci_nand_device_command)
info->io.target = target;
info->io.data = info->data;
+ info->io.op = ARM_NAND_NONE;
/* NOTE: for now we don't do any error correction on read.
* Nothing else in OpenOCD currently corrects read errors,
diff --git a/src/flash/nand/orion.c b/src/flash/nand/orion.c
index 436151fb..b124deee 100644
--- a/src/flash/nand/orion.c
+++ b/src/flash/nand/orion.c
@@ -155,6 +155,7 @@ NAND_DEVICE_COMMAND_HANDLER(orion_nand_device_command)
hw->io.target = hw->target;
hw->io.data = hw->data;
+ hw->io.op = ARM_NAND_NONE;
return ERROR_OK;
}