diff --git a/spi25.c b/spi25.c
index d6c00c2..5f427ca 100644
--- a/spi25.c
+++ b/spi25.c
@@ -668,6 +668,7 @@
 		ret = spi_nbyte_read(flash, start, buf, to_read);
 		if (ret)
 			return ret;
+		flashprog_progress_add(flash, to_read);
 	}
 	return 0;
 }
@@ -710,6 +711,7 @@
 			rc = spi_nbyte_program(flash, starthere + j, buf + starthere - start + j, towrite);
 			if (rc)
 				return rc;
+			flashprog_progress_add(flash, towrite);
 		}
 	}
 
@@ -730,6 +732,7 @@
 	for (i = start; i < start + len; i++) {
 		if (spi_nbyte_program(flash, i, buf + i - start, 1))
 			return 1;
+		flashprog_progress_add(flash, 1);
 	}
 	return 0;
 }
@@ -772,6 +775,7 @@
 		goto bailout;
 
 	/* We already wrote 2 bytes in the multicommand step. */
+	flashprog_progress_add(flash, 2);
 	pos += 2;
 
 	/* Are there at least two more bytes to write? */
@@ -785,6 +789,7 @@
 		}
 		if (spi_poll_wip(flash, 10))
 			goto bailout;
+		flashprog_progress_add(flash, 2);
 	}
 
 	/* Use WRDI to exit AAI mode. This needs to be done before issuing any other non-AAI command. */
