diff options
author | Zachary T Welch <zw@superlucidity.net> | 2009-11-22 06:24:19 -0800 |
---|---|---|
committer | Zachary T Welch <zw@superlucidity.net> | 2009-11-24 21:37:35 -0800 |
commit | 90d09e35e4be6f0b35899238b253154249f85cb6 (patch) | |
tree | aecc837b38ec8386d7ff889f7ca1abc54cbac5a4 /src/flash/s3c2440_nand.c | |
parent | ad090413a8dfacccc993ff15b8376e0f2bd56712 (diff) | |
download | openocd+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/s3c2440_nand.c')
-rw-r--r-- | src/flash/s3c2440_nand.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/flash/s3c2440_nand.c b/src/flash/s3c2440_nand.c index 65e5a511..556f6f1e 100644 --- a/src/flash/s3c2440_nand.c +++ b/src/flash/s3c2440_nand.c @@ -156,7 +156,6 @@ int s3c2440_write_block_data(struct nand_device *nand, uint8_t *data, int data_s struct nand_flash_controller s3c2440_nand_controller = { .name = "s3c2440", .nand_device_command = &s3c2440_nand_device_command, - .register_commands = &s3c24xx_register_commands, .init = &s3c2440_init, .reset = &s3c24xx_reset, .command = &s3c24xx_command, |