summaryrefslogtreecommitdiff
path: root/src/flash/s3c24xx_nand.c
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-22 06:24:19 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-24 21:37:35 -0800
commit90d09e35e4be6f0b35899238b253154249f85cb6 (patch)
treeaecc837b38ec8386d7ff889f7ca1abc54cbac5a4 /src/flash/s3c24xx_nand.c
parentad090413a8dfacccc993ff15b8376e0f2bd56712 (diff)
downloadopenocd_libswd-90d09e35e4be6f0b35899238b253154249f85cb6.tar.gz
openocd_libswd-90d09e35e4be6f0b35899238b253154249f85cb6.tar.bz2
openocd_libswd-90d09e35e4be6f0b35899238b253154249f85cb6.tar.xz
openocd_libswd-90d09e35e4be6f0b35899238b253154249f85cb6.zip
remove nand_controller->register_callbacks
Replace flash_driver callback with pointer to command_registration. Eliminates all related routines and allows drivers to omit commands.
Diffstat (limited to 'src/flash/s3c24xx_nand.c')
-rw-r--r--src/flash/s3c24xx_nand.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/flash/s3c24xx_nand.c b/src/flash/s3c24xx_nand.c
index 262569e8..e7afb48a 100644
--- a/src/flash/s3c24xx_nand.c
+++ b/src/flash/s3c24xx_nand.c
@@ -52,11 +52,6 @@ S3C24XX_DEVICE_COMMAND()
return ERROR_OK;
}
-int s3c24xx_register_commands(struct command_context *cmd_ctx)
-{
- return ERROR_OK;
-}
-
int s3c24xx_reset(struct nand_device *nand)
{
struct s3c24xx_nand_controller *s3c24xx_info = nand->controller_priv;