]> git.sur5r.net Git - openocd/blobdiff - src/flash/nand.c
Fix 'make maintainer-clean' courtesy of Zach Welch <zw@superlucidity.net>
[openocd] / src / flash / nand.c
index f55a81bb657b5ec1389dc5b0b96a5db5897a07f3..7f91407590cf8f1273208a11e21eb022c7b2b63f 100644 (file)
@@ -375,7 +375,7 @@ int nand_read_status(struct nand_device_s *device, u8 *status)
 int nand_probe(struct nand_device_s *device)
 {
        u8 manufacturer_id, device_id;
-       u8 id_buff[5];
+       u8 id_buff[6];
        int retval;
        int i;
 
@@ -1524,4 +1524,3 @@ int handle_nand_raw_access_command(struct command_context_s *cmd_ctx, char *cmd,
        
        return ERROR_OK;
 }
-