X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=src%2Fflash%2Fnand%2Forion.c;h=b46ffaed1fb8a9bf3baeee8608f995d5301c2c92;hb=ef4fbd36d491b1c89cb13d43f6c03e26fd0d8a7d;hp=436151fbaa973943ece267e058cfdbefdee64a1e;hpb=eac262e5d2a56e470e3d13becd646a135aa187c5;p=openocd.git diff --git a/src/flash/nand/orion.c b/src/flash/nand/orion.c index 436151fbaa..b46ffaed1f 100644 --- a/src/flash/nand/orion.c +++ b/src/flash/nand/orion.c @@ -26,8 +26,9 @@ #include "config.h" #endif -#include -#include +#include "imp.h" +#include "arm_io.h" +#include struct orion_nand_controller @@ -155,6 +156,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; }