summaryrefslogtreecommitdiff
path: root/src/flash/orion_nand.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/flash/orion_nand.c')
-rw-r--r--src/flash/orion_nand.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/flash/orion_nand.c b/src/flash/orion_nand.c
index 471c562a..b112c9e3 100644
--- a/src/flash/orion_nand.c
+++ b/src/flash/orion_nand.c
@@ -125,9 +125,7 @@ static int orion_nand_register_commands(struct command_context_s *cmd_ctx)
return ERROR_OK;
}
-int orion_nand_device_command(struct command_context_s *cmd_ctx, char *cmd,
- char **args, int argc,
- struct nand_device_s *nand)
+NAND_DEVICE_COMMAND_HANDLER(orion_nand_device_command)
{
orion_nand_controller_t *hw;
uint32_t base;