diff options
author | drath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-02-19 19:52:09 +0000 |
---|---|---|
committer | drath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-02-19 19:52:09 +0000 |
commit | ee340df8417772b8c29a54ddf7b36556ec20d609 (patch) | |
tree | abd649dfc9a456182e428f62a34f392f02b0fdd9 /src/flash/nand.h | |
parent | 5c0e8efa051f4e266add8b3685020970fe394a4c (diff) |
- 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
Diffstat (limited to 'src/flash/nand.h')
-rw-r--r-- | src/flash/nand.h | 2 |
1 files changed, 2 insertions, 0 deletions
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); |