diff mbox

[4/4] libflash: Support Micron N25Q256Ax NOR flash

Message ID 1448430159-1608-4-git-send-email-joel@jms.id.au
State Accepted
Headers show

Commit Message

Joel Stanley Nov. 25, 2015, 5:42 a.m. UTC
This 32MB part is used for the Barreleye OpenBMC BMC.

Signed-off-by: Joel Stanley <joel@jms.id.au>
---
 libflash/libflash.c | 3 +++
 1 file changed, 3 insertions(+)
diff mbox

Patch

diff --git a/libflash/libflash.c b/libflash/libflash.c
index cc37f2fbfe00..69e809ec421b 100644
--- a/libflash/libflash.c
+++ b/libflash/libflash.c
@@ -34,6 +34,9 @@  static const struct flash_info flash_info[] = {
 	{ 0x20ba20, 0x04000000, FL_ERASE_4K  | FL_ERASE_64K | FL_CAN_4B |
                                 FL_ERASE_BULK | FL_MICRON_BUGS,
                                                           "Micron N25Qx512Ax"   },
+	{ 0x20ba19, 0x02000000, FL_ERASE_4K  | FL_ERASE_64K | FL_CAN_4B |
+                                FL_ERASE_BULK | FL_MICRON_BUGS,
+                                                          "Micron N25Q256Ax"    },
 	{ 0x4d5444, 0x02000000, FL_ERASE_ALL | FL_CAN_4B, "File Abstraction"},
 	{ 0x55aa55, 0x00100000, FL_ERASE_ALL | FL_CAN_4B, "TEST_FLASH" },
 	{ 0xaa55aa, 0x02000000, FL_ERASE_ALL | FL_CAN_4B, "EMULATED_FLASH"},