summaryrefslogtreecommitdiff
path: root/src/flash/s3c2443_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/s3c2443_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/s3c2443_nand.c')
-rw-r--r--src/flash/s3c2443_nand.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/flash/s3c2443_nand.c b/src/flash/s3c2443_nand.c
index 5afb26fc..311bb697 100644
--- a/src/flash/s3c2443_nand.c
+++ b/src/flash/s3c2443_nand.c
@@ -65,7 +65,6 @@ static int s3c2443_init(struct nand_device *nand)
struct nand_flash_controller s3c2443_nand_controller = {
.name = "s3c2443",
.nand_device_command = &s3c2443_nand_device_command,
- .register_commands = &s3c24xx_register_commands,
.init = &s3c2443_init,
.reset = &s3c24xx_reset,
.command = &s3c24xx_command,