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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flash/orion_nand.c b/src/flash/orion_nand.c
index 84062f2b..8a76ffcb 100644
--- a/src/flash/orion_nand.c
+++ b/src/flash/orion_nand.c
@@ -79,7 +79,7 @@ static int orion_nand_read(struct nand_device_s *device, void *data)
return ERROR_OK;
}
-static int orion_nand_write(struct nand_device_s *device, u16 data)
+static int orion_nand_write(struct nand_device_s *device, uint16_t data)
{
orion_nand_controller_t *hw = device->controller_priv;
target_t *target = hw->target;