7 #ifndef OPENOCD_FLASH_NAND_FILEIO_H
8 #define OPENOCD_FLASH_NAND_FILEIO_H
34 struct nand_device *nand,
const char *filename,
int filemode,
41 bool need_size,
bool sw_ecc);
int nand_fileio_cleanup(struct nand_fileio_state *state)
int nand_fileio_start(struct command_invocation *cmd, struct nand_device *nand, const char *filename, int filemode, struct nand_fileio_state *state)
void nand_fileio_init(struct nand_fileio_state *state)
int nand_fileio_read(struct nand_device *nand, struct nand_fileio_state *s)
int nand_fileio_finish(struct nand_fileio_state *state)
COMMAND_HELPER(nand_fileio_parse_args, struct nand_fileio_state *state, struct nand_device **dev, enum fileio_access filemode, bool need_size, bool sw_ecc)
When run_command is called, a new instance will be created on the stack, filled with the proper value...
enum oob_formats oob_format