From ee340df8417772b8c29a54ddf7b36556ec20d609 Mon Sep 17 00:00:00 2001 From: drath Date: Tue, 19 Feb 2008 19:52:09 +0000 Subject: - add support for the majority of the Samsung ARM SoC family, S3C2410, S3C2412, S3C2413, S3C2440 and S3C2443 (thanks to Ben Dooks for this patch) git-svn-id: svn://svn.berlios.de/openocd/trunk@311 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- src/flash/nand.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/flash/nand.h') diff --git a/src/flash/nand.h b/src/flash/nand.h index 7161c506..cb18b0c8 100644 --- a/src/flash/nand.h +++ b/src/flash/nand.h @@ -42,6 +42,8 @@ typedef struct nand_flash_controller_s int (*address)(struct nand_device_s *device, u8 address); int (*write_data)(struct nand_device_s *device, u16 data); int (*read_data)(struct nand_device_s *device, void *data); + int (*write_block_data)(struct nand_device_s *device, u8 *data, int size); + int (*read_block_data)(struct nand_device_s *device, u8 *data, int size); int (*write_page)(struct nand_device_s *device, u32 page, u8 *data, u32 data_size, u8 *oob, u32 oob_size); int (*read_page)(struct nand_device_s *device, u32 page, u8 *data, u32 data_size, u8 *oob, u32 oob_size); int (*controller_ready)(struct nand_device_s *device, int timeout); -- cgit v1.2.3