summaryrefslogtreecommitdiff
path: root/src/flash/nand/s3c24xx.c
diff options
context:
space:
mode:
authorAntonio Borneo <borneo.antonio@gmail.com>2010-12-31 19:18:08 +0800
committerØyvind Harboe <oyvind.harboe@zylin.com>2011-01-02 19:49:36 +0100
commitb0759dfc538b973cce67df93f8a7fe239bfb4c74 (patch)
tree6b1e71517ff431ffda9a3f2da2bbb6a688c5e41b /src/flash/nand/s3c24xx.c
parent0136977c40e41cdaab5d775c4e370763006ad99c (diff)
downloadopenocd+libswd-b0759dfc538b973cce67df93f8a7fe239bfb4c74.tar.gz
openocd+libswd-b0759dfc538b973cce67df93f8a7fe239bfb4c74.tar.bz2
openocd+libswd-b0759dfc538b973cce67df93f8a7fe239bfb4c74.tar.xz
openocd+libswd-b0759dfc538b973cce67df93f8a7fe239bfb4c74.zip
flash/nand: review NAND driver interface
From struct nand_flash_controller : - remove unused field register_commands; - remove field controller_ready, exported but never referenced. Remove dead code pointed by controller_ready. Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Diffstat (limited to 'src/flash/nand/s3c24xx.c')
-rw-r--r--src/flash/nand/s3c24xx.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/flash/nand/s3c24xx.c b/src/flash/nand/s3c24xx.c
index d305b221..e3b5c2e2 100644
--- a/src/flash/nand/s3c24xx.c
+++ b/src/flash/nand/s3c24xx.c
@@ -126,8 +126,3 @@ int s3c24xx_read_data(struct nand_device *nand, void *data)
target_read_u8(target, s3c24xx_info->data, data);
return ERROR_OK;
}
-
-int s3c24xx_controller_ready(struct nand_device *nand, int timeout)
-{
- return 1;
-}