Sorry, forgot the patch... *palmface*
diff -rupN flashrom-1.0-clean/flashchips.c flashrom-1.0-dev/flashchips.c
--- flashrom-1.0-clean/flashchips.c	2017-06-05 17:42:16.000000000 +0200
+++ flashrom-1.0-dev/flashchips.c	2018-06-07 11:57:20.136884990 +0200
@@ -11057,6 +11057,37 @@ const struct flashchip flashchips[] = {
 
 	{
 		.vendor		= "Sanyo",
+		.name		= "LE25FU106B",
+		.bustype	= BUS_SPI,
+		.manufacture_id	= SANYO_ID,
+		.model_id	= SANYO_LE25FU106B,
+		.total_size	= 128,
+		.page_size	= 256,
+		.feature_bits	= FEATURE_WRSR_WREN,
+		.tested		= TEST_OK_PREW,
+		.probe		= probe_spi_rdid,
+		.probe_timing	= TIMING_ZERO,
+		.block_erasers	= {
+			{
+				.eraseblocks = { {2 * 1024, 64} },
+				.block_erase = spi_block_erase_d7,
+			}, {
+				.eraseblocks = { {32 * 1024, 4} },
+				.block_erase = spi_block_erase_d8,
+			}, {
+				.eraseblocks = { {128 * 1024, 1} },
+				.block_erase = spi_block_erase_c7,
+			}
+		},
+		.printlock	= spi_prettyprint_status_register_bp1_srwd,
+		.unlock		= spi_disable_blockprotect_bp1_srwd,
+		.write		= spi_chip_write_256,
+		.read		= spi_chip_read,
+		.voltage	= {2300, 3600},
+	},
+
+	{
+		.vendor		= "Sanyo",
 		.name		= "LE25FU406B",
 		.bustype	= BUS_SPI,
 		.manufacture_id	= SANYO_ID,
diff -rupN flashrom-1.0-clean/flashchips.h flashrom-1.0-dev/flashchips.h
--- flashrom-1.0-clean/flashchips.h	2017-11-04 17:07:23.000000000 +0100
+++ flashrom-1.0-dev/flashchips.h	2018-06-07 11:40:58.180253130 +0200
@@ -598,6 +598,7 @@
 #define SANYO_LE25FW406		0x07	/* RES2 */
 #define SANYO_LE25FW418A	0x10	/* RES2 and some weird 1 byte RDID variant */
 #define SANYO_LE25FW406A	0x1A	/* RES2, no datasheet */
+#define SANYO_LE25FU106B	0x1d62
 #define SANYO_LE25FU406B	0x1E	/* LE25FW418A without HD_READ mode option variant */
 #define SANYO_LE25FU406C	0x0613	/* Also known as LE25U40CMC apparently */
 #define SANYO_LE25FW806		0x26	/* RES2 and some weird 1 byte RDID variant */
_______________________________________________
flashrom mailing list
[email protected]
https://mail.coreboot.org/mailman/listinfo/flashrom

Reply via email to