From 682122bce7714e285d196be09d4c97666458c487 Mon Sep 17 00:00:00 2001 From: Stefan Tauner Date: Sun, 23 Jun 2013 22:15:39 +0000 Subject: Warn if we skipped all blocks while writing Quick hack to print a warning if we skip all blocks in a write process because they are already equal to the requested image. We want something like this to make users aware... and some developers who regularly fall for this too *coughcough*. There might be more elegant solutions for this... patches welcome. This does not work for erasing because we do that unconditionally. Corresponding to flashrom svn r1680. Signed-off-by: Stefan Tauner Acked-by: Idwer Vollering --- flash.h | 1 + 1 file changed, 1 insertion(+) (limited to 'flash.h') diff --git a/flash.h b/flash.h index 1857cc0..7e50ae5 100644 --- a/flash.h +++ b/flash.h @@ -27,6 +27,7 @@ #include #include #include +#include #ifdef _WIN32 #include #undef min -- cgit v1.1