diff options
author | Adriana Kobylak <anoo@us.ibm.com> | 2016-01-25 13:56:17 -0600 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2016-02-18 17:06:45 +1100 |
commit | 539720ca9b1543a35411511a4154d3c9e5e4dc84 (patch) | |
tree | 078d02283e63bfb3c6993efa3c04d74a65415c8b | |
parent | e3f129efba356a83f05e5932510efd8b157730ad (diff) | |
download | skiboot-539720ca9b1543a35411511a4154d3c9e5e4dc84.zip skiboot-539720ca9b1543a35411511a4154d3c9e5e4dc84.tar.gz skiboot-539720ca9b1543a35411511a4154d3c9e5e4dc84.tar.bz2 |
libflash: Support for Micron N25Q256Ax and Winbond W25Q256BV NOR flash
These 32MB chips are used in the Barreleye OpenBMC BMC.
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
-rw-r--r-- | libflash/libflash.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libflash/libflash.c b/libflash/libflash.c index 50dc54d..d3e594a 100644 --- a/libflash/libflash.c +++ b/libflash/libflash.c @@ -31,12 +31,18 @@ static const struct flash_info flash_info[] = { { 0xc22019, 0x02000000, FL_ERASE_ALL | FL_CAN_4B, "Macronix MXxxL25635F"}, { 0xc2201a, 0x04000000, FL_ERASE_ALL | FL_CAN_4B, "Macronix MXxxL51235F"}, { 0xef4018, 0x01000000, FL_ERASE_ALL, "Winbond W25Q128BV" }, + { 0xef4019, 0x02000000, FL_ERASE_ALL | FL_ERASE_64K | FL_CAN_4B | + FL_ERASE_BULK, + "Winbond W25Q256BV"}, { 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" }, + { 0x1940ef, 0x02000000, FL_ERASE_4K | FL_ERASE_64K | FL_CAN_4B | + FL_ERASE_BULK | FL_MICRON_BUGS, + "Micron N25Qx256Ax" }, { 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"}, |