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

Joel Stanley joel at jms.id.au
Wed Nov 25 16:42:39 AEDT 2015


This 32MB part is used for the Barreleye OpenBMC BMC.

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

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"},
-- 
2.6.2



More information about the Skiboot mailing list