summaryrefslogtreecommitdiff
path: root/src/flash/nand.h
diff options
context:
space:
mode:
authordrath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-02-19 19:52:09 +0000
committerdrath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-02-19 19:52:09 +0000
commitee340df8417772b8c29a54ddf7b36556ec20d609 (patch)
treeabd649dfc9a456182e428f62a34f392f02b0fdd9 /src/flash/nand.h
parent5c0e8efa051f4e266add8b3685020970fe394a4c (diff)
downloadopenocd+libswd-ee340df8417772b8c29a54ddf7b36556ec20d609.tar.gz
openocd+libswd-ee340df8417772b8c29a54ddf7b36556ec20d609.tar.bz2
openocd+libswd-ee340df8417772b8c29a54ddf7b36556ec20d609.tar.xz
openocd+libswd-ee340df8417772b8c29a54ddf7b36556ec20d609.zip
- 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.h2
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);