arm_nandwrite() function
ARM-specific bulk write from buffer to address of 8-bit wide NAND. For now this supports ARMv4,ARMv5 and ARMv7-M cores. Enhancements to target_run_algorithm() could enable: - ARMv6 and ARMv7 cores in ARM mode Different code fragments could handle: - 16-bit wide data (needs different setup)
Arguments
nand
Pointer to the arm_nand_data struct that defines the I/O
data
Pointer to the data to be copied to flash
size
Size of the data being copied
Return value
Success or failure of the operation