diff options
author | Spencer Oliver <spen@spen-soft.co.uk> | 2012-01-31 11:07:53 +0000 |
---|---|---|
committer | Spencer Oliver <spen@spen-soft.co.uk> | 2012-02-06 10:53:08 +0000 |
commit | fab0dcd7e6cb8cfbf63cb41f0978902371d30205 (patch) | |
tree | a7abd6895375f767b5439020d5bed10d8ecd2d88 /src/flash/nand/nonce.c | |
parent | 1e9f8836a1af5b35b5950a24b8f19b38318df532 (diff) |
build: cleanup src/flash/nand directory
Change-Id: I21bb466a35168cf04743f5baafac9fef50d01707
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/419
Tested-by: jenkins
Diffstat (limited to 'src/flash/nand/nonce.c')
-rw-r--r-- | src/flash/nand/nonce.c | 24 |
1 files changed, 11 insertions, 13 deletions
diff --git a/src/flash/nand/nonce.c b/src/flash/nand/nonce.c index 565ad727..76ed5264 100644 --- a/src/flash/nand/nonce.c +++ b/src/flash/nand/nonce.c @@ -24,7 +24,6 @@ #include "imp.h" #include "hello.h" - static int nonce_nand_command(struct nand_device *nand, uint8_t command) { return ERROR_OK; @@ -62,16 +61,15 @@ static int nonce_nand_init(struct nand_device *nand) return ERROR_OK; } -struct nand_flash_controller nonce_nand_controller = -{ - .name = "nonce", - .commands = hello_command_handlers, - .nand_device_command = &nonce_nand_device_command, - .init = &nonce_nand_init, - .reset = &nonce_nand_reset, - .command = &nonce_nand_command, - .address = &nonce_nand_address, - .read_data = &nonce_nand_read, - .write_data = &nonce_nand_write, - .write_block_data = &nonce_nand_fast_block_write, +struct nand_flash_controller nonce_nand_controller = { + .name = "nonce", + .commands = hello_command_handlers, + .nand_device_command = &nonce_nand_device_command, + .init = &nonce_nand_init, + .reset = &nonce_nand_reset, + .command = &nonce_nand_command, + .address = &nonce_nand_address, + .read_data = &nonce_nand_read, + .write_data = &nonce_nand_write, + .write_block_data = &nonce_nand_fast_block_write, }; |