#define OPENOCD_FLASH_NAND_FILEIO_H
#include <helper/time_support.h>
#include <helper/fileio.h>
nand_fileio_state
address
size
page
page_size
oob_format
oob
oob_size
eccpos
file_opened
fileio
bench
nand_fileio_init(struct nand_fileio_state *);
nand_fileio_start(struct command_invocation *, struct nand_device *, const char *, int, struct nand_fileio_state *);
nand_fileio_cleanup(struct nand_fileio_state *);
nand_fileio_finish(struct nand_fileio_state *);
nand_fileio_parse_args(struct command_invocation *, struct nand_fileio_state *, struct nand_device **, enum fileio_access, bool, bool);
nand_fileio_read(struct nand_device *, struct nand_fileio_state *);