Pass on return values

Corresponding to flashrom svn r39 and coreboot v2 svn r2151.
diff --git a/flash_rom.c b/flash_rom.c
index fb7d030..db3c2c9 100644
--- a/flash_rom.c
+++ b/flash_rom.c
@@ -147,6 +147,7 @@
 	    write_it = 0, 
 	    erase_it = 0, 
 	    verify_it = 0;
+	int ret = 0;
 
 	static struct option long_options[]= {
 		{ "read", 0, 0, 'r' },
@@ -336,10 +337,10 @@
 	// ////////////////////////////////////////////////////////////
 	
 	if (write_it)
-		flash->write(flash, buf);
+		ret |= flash->write(flash, buf);
 
 	if (verify_it)
-		verify_flash(flash, buf);
+		ret |= verify_flash(flash, buf);
 
-	return 0;
+	return ret;
 }