aboutsummaryrefslogtreecommitdiff
path: root/libflash
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2015-07-06 18:10:13 +0800
committerStewart Smith <stewart@linux.vnet.ibm.com>2015-07-07 09:44:12 +1000
commit8b5386d59d3ff1ea4e961c315020d2dc60beb65f (patch)
tree918f350c5217619b8f9bc7ae8a35897e7cf0a2ae /libflash
parent3e58874e2b8b67d7050bb0e6da4e3f8d033e07f8 (diff)
downloadskiboot-8b5386d59d3ff1ea4e961c315020d2dc60beb65f.zip
skiboot-8b5386d59d3ff1ea4e961c315020d2dc60beb65f.tar.gz
skiboot-8b5386d59d3ff1ea4e961c315020d2dc60beb65f.tar.bz2
libflash: Add support for Macronix 128Mb flash chips
Fun-sized version of the MXxxL25635F. Signed-off-by: Jeremy Kerr <jk@ozlabs.org> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'libflash')
-rw-r--r--libflash/libflash.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libflash/libflash.c b/libflash/libflash.c
index 55eafbe..90ae653 100644
--- a/libflash/libflash.c
+++ b/libflash/libflash.c
@@ -27,6 +27,7 @@
#endif
static const struct flash_info flash_info[] = {
+ { 0xc22018, 0x01000000, FL_ERASE_ALL | FL_CAN_4B, "Macronix MXxxL12835F"},
{ 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" },