X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=src%2Fflash%2Fnand%2Forion.c;h=b46ffaed1fb8a9bf3baeee8608f995d5301c2c92;hb=daa1ff3535c2dc1f6ae6da2b740cdf23f4f5f7a6;hp=0f08fe42bec73156cedf58c41fbbfcb9bdc41308;hpb=ddea03304310e1342ee127fc7e6507bbfb237ae4;p=openocd.git diff --git a/src/flash/nand/orion.c b/src/flash/nand/orion.c index 0f08fe42be..b46ffaed1f 100644 --- a/src/flash/nand/orion.c +++ b/src/flash/nand/orion.c @@ -26,8 +26,9 @@ #include "config.h" #endif -#include "arm_nandio.h" -#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; }