Index: flashrom-spi_progressbar_hack/spi25.c
===================================================================
--- flashrom-spi_progressbar_hack/spi25.c	(Revision 1049)
+++ flashrom-spi_progressbar_hack/spi25.c	(Arbeitskopie)
@@ -922,6 +922,8 @@
 	 * page as well, the loop condition uses <=.
 	 */
 	for (i = start / page_size; i <= (start + len - 1) / page_size; i++) {
+		/* Simple progress printing, one dot per page. */
+		msg_cdbg(".");
 		/* Byte position of the first byte in the range in this page. */
 		/* starthere is an offset to the base address of the chip. */
 		starthere = max(start, i * page_size);
@@ -966,6 +968,8 @@
 	 * page as well, the loop condition uses <=.
 	 */
 	for (i = start / page_size; i <= (start + len - 1) / page_size; i++) {
+		/* Simple progress printing, one dot per page. */
+		msg_cdbg(".");
 		/* Byte position of the first byte in the range in this page. */
 		/* starthere is an offset to the base address of the chip. */
 		starthere = max(start, i * page_size);
@@ -1006,6 +1010,9 @@
 	}
 	msg_cinfo("done.\n");
 	for (i = 0; i < total_size; i++) {
+		/* Simple progress printing, one dot per page. */
+		if (i % flash->page_size == 0)
+			msg_cdbg(".");
 		result = spi_byte_program(i, buf[i]);
 		if (result)
 			return 1;

