5 #include "binarybuffer.h"
8 /* target is proxy for some ARM core */
9 struct target_s
*target
;
11 /* copy_area holds write-to-NAND loop and data to write */
12 struct working_area_s
*copy_area
;
14 /* chunk_size == page or ECC unit */
17 /* data == where to write the data */
20 /* currently implicit: data width == 8 bits (not 16) */
23 int arm_nandwrite(struct arm_nand_data
*nand
, uint8_t *data
, int size
);
25 #endif /* __ARM_NANDIO_H */