aboutsummaryrefslogtreecommitdiff
path: root/libflash
diff options
context:
space:
mode:
authorJoel Stanley <joel@jms.id.au>2015-11-25 16:12:39 +1030
committerStewart Smith <stewart@linux.vnet.ibm.com>2015-11-26 15:16:37 +1100
commit71c2d6b72be7213914e2708c884b45fa74f525e6 (patch)
tree0c71544e0bc7ff1b20d8845c623205fd1e3584f9 /libflash
parente25f3f3559d91ad2335d8f67888a1813945318a6 (diff)
downloadskiboot-71c2d6b72be7213914e2708c884b45fa74f525e6.zip
skiboot-71c2d6b72be7213914e2708c884b45fa74f525e6.tar.gz
skiboot-71c2d6b72be7213914e2708c884b45fa74f525e6.tar.bz2
libflash: Support Micron N25Q256Ax NOR flash
This 32MB part is used for the Barreleye OpenBMC BMC. Signed-off-by: Joel Stanley <joel@jms.id.au> Reviewed-by: Cédric Le Goater <clg@fr.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'libflash')
-rw-r--r--libflash/libflash.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libflash/libflash.c b/libflash/libflash.c
index cc37f2f..69e809e 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"},