[coreboot-gerrit] New patch to review for coreboot: b7d7b9f drivers/spi/stmicro: Add N25Q064 support

David Imhoff (dimhoff_devel@xs4all.nl) gerrit at coreboot.org
Sun May 3 16:16:10 CEST 2015


David Imhoff (dimhoff_devel at xs4all.nl) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/10076

-gerrit

commit b7d7b9fe0872c4c6b05da56257c55ca265276d6c
Author: David Imhoff <dimhoff_devel at xs4all.nl>
Date:   Sun May 3 16:02:56 2015 +0200

    drivers/spi/stmicro: Add N25Q064 support
    
    N25Q064 is similar to N25Q128. Tested on Minnowboard Max.
    
    Change-Id: Iec105f8b81f619846cf40b40042cc59150b81149
    Signed-off-by: David Imhoff <dimhoff_devel at xs4all.nl>
---
 src/drivers/spi/stmicro.c | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/src/drivers/spi/stmicro.c b/src/drivers/spi/stmicro.c
index 3cec0be..b67c072 100644
--- a/src/drivers/spi/stmicro.c
+++ b/src/drivers/spi/stmicro.c
@@ -58,6 +58,7 @@
 #define STM_ID_M25P80		0x2014
 #define STM_ID_M25P128		0x2018
 #define STM_ID_N25Q256A		0xba19
+#define STM_ID_N25Q064		0xbb17
 #define STM_ID_N25Q128		0xbb18
 
 struct stmicro_spi_flash_params {
@@ -147,6 +148,14 @@ static const struct stmicro_spi_flash_params stmicro_spi_flash_table[] = {
 		.name = "M25P128",
 	},
 	{
+		.device_id = STM_ID_N25Q064,
+		.op_erase = CMD_M25PXX_SSE,
+		.page_size = 256,
+		.pages_per_sector = 16,
+		.nr_sectors = 2048,
+		.name = "N25Q064",
+	},
+	{
 		.device_id = STM_ID_N25Q128,
 		.op_erase = CMD_M25PXX_SSE,
 		.page_size = 256,



More information about the coreboot-gerrit mailing list