From 4b97f3cbb9603c13f69f8d3b5371c12045593126 Mon Sep 17 00:00:00 2001 From: ntfreak Date: Sat, 16 Jun 2007 14:45:55 +0000 Subject: - added mingw elf patches from Vincent Palatin - added str9x programming using flash controller tap (str9xpec), including option bytes and device lock/unlock - inttypes.h now used for long long printf style declarations git-svn-id: svn://svn.berlios.de/openocd/trunk@174 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- src/flash/nand.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/flash/nand.c') diff --git a/src/flash/nand.c b/src/flash/nand.c index 7ff73512..d06a232c 100644 --- a/src/flash/nand.c +++ b/src/flash/nand.c @@ -31,6 +31,7 @@ #include #include +#include #include @@ -1387,7 +1388,7 @@ int handle_nand_dump_command(struct command_context_s *cmd_ctx, char *cmd, char fileio_close(&fileio); duration_stop_measure(&duration, &duration_text); - command_print(cmd_ctx, "dumped %lli byte in %s", fileio.size, duration_text); + command_print(cmd_ctx, "dumped %"PRIi64" byte in %s", fileio.size, duration_text); free(duration_text); } else -- cgit v1.2.3