flash/nor: add support for more norflash devices
Change-Id: I92153b8e511755f1d5a1176b87413707fb875147 Signed-off-by: wangyanwen <wangyanwen@nucleisys.com>
This commit is contained in:
parent
ef8184f193
commit
cecc60d0cb
|
@ -98,6 +98,7 @@ const struct flash_device flash_devices[] = {
|
|||
FLASH_ID("mac 25l4005", 0x03, 0x00, 0x02, 0xd8, 0xc7, 0x001320c2, 0x010, 0x10000, 0x80000),
|
||||
FLASH_ID("mac 25l8005", 0x03, 0x00, 0x02, 0xd8, 0xc7, 0x001420c2, 0x010, 0x10000, 0x100000),
|
||||
FLASH_ID("mac 25l1605", 0x03, 0x00, 0x02, 0xd8, 0xc7, 0x001520c2, 0x100, 0x10000, 0x200000),
|
||||
FLASH_ID("mac 25l1633e", 0x03, 0xeb, 0x02, 0xd8, 0xc7, 0x001524c2, 0x100, 0x10000, 0x200000),
|
||||
FLASH_ID("mac 25l3205", 0x03, 0x00, 0x02, 0xd8, 0xc7, 0x001620c2, 0x100, 0x10000, 0x400000),
|
||||
FLASH_ID("mac 25l6405", 0x03, 0x00, 0x02, 0xd8, 0xc7, 0x001720c2, 0x100, 0x10000, 0x800000),
|
||||
FLASH_ID("mac 25l12845", 0x03, 0xeb, 0x02, 0xd8, 0xc7, 0x001820c2, 0x100, 0x10000, 0x1000000),
|
||||
|
@ -125,6 +126,8 @@ const struct flash_device flash_devices[] = {
|
|||
FLASH_ID("micron mt25ql01", 0x13, 0xec, 0x12, 0xdc, 0xc7, 0x0021ba20, 0x100, 0x10000, 0x8000000),
|
||||
FLASH_ID("micron mt25qu01", 0x13, 0xec, 0x12, 0xdc, 0xc7, 0x0021bb20, 0x100, 0x10000, 0x8000000),
|
||||
FLASH_ID("micron mt25ql02", 0x13, 0xec, 0x12, 0xdc, 0xc7, 0x0022ba20, 0x100, 0x10000, 0x10000000),
|
||||
FLASH_ID("micron mt25qu02", 0x13, 0xec, 0x12, 0xdc, 0xc7, 0x0022bb20, 0x100, 0x10000, 0x10000000),
|
||||
FLASH_ID("micron mt25qu512", 0x13, 0xec, 0x12, 0xdc, 0xc7, 0x0020bb20, 0x100, 0x10000, 0x4000000),
|
||||
FLASH_ID("win w25q80bv", 0x03, 0x00, 0x02, 0xd8, 0xc7, 0x001440ef, 0x100, 0x10000, 0x100000),
|
||||
FLASH_ID("win w25q16jv", 0x03, 0x00, 0x02, 0xd8, 0xc7, 0x001540ef, 0x100, 0x10000, 0x200000),
|
||||
FLASH_ID("win w25q16jv", 0x03, 0x00, 0x02, 0xd8, 0xc7, 0x001570ef, 0x100, 0x10000, 0x200000), /* QPI / DTR */
|
||||
|
@ -148,8 +151,10 @@ const struct flash_device flash_devices[] = {
|
|||
FLASH_ID("gd gd25q10", 0x03, 0x00, 0x02, 0x20, 0xc7, 0x001140c8, 0x100, 0x1000, 0x20000),
|
||||
FLASH_ID("gd gd25q20", 0x03, 0x00, 0x02, 0x20, 0xc7, 0x001240c8, 0x100, 0x1000, 0x40000),
|
||||
FLASH_ID("gd gd25q40", 0x03, 0x00, 0x02, 0x20, 0xc7, 0x001340c8, 0x100, 0x1000, 0x80000),
|
||||
FLASH_ID("gd gd25q80b", 0x03, 0x00, 0x02, 0xd8, 0xc7, 0x001440c8, 0x100, 0x10000, 0x800000),
|
||||
FLASH_ID("gd gd25q16c", 0x03, 0x00, 0x02, 0xd8, 0xc7, 0x001540c8, 0x100, 0x10000, 0x200000),
|
||||
FLASH_ID("gd gd25q32c", 0x03, 0x00, 0x02, 0xd8, 0xc7, 0x001640c8, 0x100, 0x10000, 0x400000),
|
||||
FLASH_ID("gd gd25le32e", 0x03, 0xeb, 0x02, 0xd8, 0xc7, 0x001660c8, 0x100, 0x10000, 0x400000),
|
||||
FLASH_ID("gd gd25q64c", 0x03, 0x00, 0x02, 0xd8, 0xc7, 0x001740c8, 0x100, 0x10000, 0x800000),
|
||||
FLASH_ID("gd gd25q128c", 0x03, 0x0b, 0x02, 0xd8, 0xc7, 0x001840c8, 0x100, 0x10000, 0x1000000),
|
||||
FLASH_ID("gd gd25q256c", 0x13, 0x00, 0x12, 0xdc, 0xc7, 0x001940c8, 0x100, 0x10000, 0x2000000),
|
||||
|
@ -163,6 +168,9 @@ const struct flash_device flash_devices[] = {
|
|||
FLASH_ID("zbit zb25vq128", 0x03, 0x0b, 0x02, 0xd8, 0xc7, 0x0018405e, 0x100, 0x10000, 0x1000000),
|
||||
FLASH_ID("zbit zb25vq128", 0x03, 0x0b, 0x02, 0xd8, 0xc7, 0x0018605e, 0x100, 0x10000, 0x1000000), /* QPI mode */
|
||||
FLASH_ID("issi is25lq040b", 0x03, 0xeb, 0x02, 0x20, 0xc7, 0x0013409d, 0x100, 0x1000, 0x80000),
|
||||
FLASH_ID("gd gd25B512me", 0x13, 0x00, 0x12, 0xdc, 0xc7, 0x001a47c8, 0x100, 0x10000, 0x4000000),
|
||||
FLASH_ID("mxic mx25u51245g", 0x03, 0x00, 0x02, 0xd8, 0xc7, 0x003a25c2, 0x100, 0x10000, 0x1000000),
|
||||
FLASH_ID("mxic mx66u1g45g", 0x03, 0xeb, 0x02, 0xd8, 0xc7, 0x003b25c2, 0x100, 0x10000, 0x4000000),
|
||||
FLASH_ID("issi is25lp032", 0x03, 0x00, 0x02, 0xd8, 0xc7, 0x0016609d, 0x100, 0x10000, 0x400000),
|
||||
FLASH_ID("issi is25lp064", 0x03, 0x00, 0x02, 0xd8, 0xc7, 0x0017609d, 0x100, 0x10000, 0x800000),
|
||||
FLASH_ID("issi is25lp128d", 0x03, 0xeb, 0x02, 0xd8, 0xc7, 0x0018609d, 0x100, 0x10000, 0x1000000),
|
||||
|
@ -184,6 +192,30 @@ const struct flash_device flash_devices[] = {
|
|||
FLASH_ID("xtx xt25q64b", 0x03, 0x0b, 0x02, 0xd8, 0xc7, 0x0017600b, 0x100, 0x10000, 0x800000),
|
||||
FLASH_ID("xtx xt25q128b", 0x03, 0x0b, 0x02, 0xd8, 0xc7, 0x0018600b, 0x100, 0x10000, 0x1000000),
|
||||
FLASH_ID("zetta zd25q16", 0x03, 0x00, 0x02, 0xd8, 0xc7, 0x001560ba, 0x100, 0x10000, 0x200000),
|
||||
FLASH_ID("puya p25q06", 0x03, 0x00, 0x02, 0x20, 0xc7, 0x00104085, 0x100, 0x1000, 0x10000),
|
||||
FLASH_ID("puya p25q11", 0x03, 0x00, 0x02, 0x20, 0xc7, 0x00114085, 0x100, 0x1000, 0x20000),
|
||||
FLASH_ID("puya p25q21", 0x03, 0x00, 0x02, 0x20, 0xc7, 0x00124085, 0x100, 0x1000, 0x40000),
|
||||
FLASH_ID("puya p25q256", 0x03, 0x00, 0x02, 0x20, 0xc7, 0x00196085, 0x100, 0x1000, 0x2000000),
|
||||
FLASH_ID("puya p25q128", 0x03, 0x00, 0x02, 0x20, 0xc7, 0x00186085, 0x100, 0x1000, 0x1000000),
|
||||
FLASH_ID("puya p25q64", 0x03, 0x00, 0x02, 0x20, 0xc7, 0x00176085, 0x100, 0x1000, 0x800000),
|
||||
FLASH_ID("puya p25q32", 0x03, 0x00, 0x02, 0x20, 0xc7, 0x00166085, 0x100, 0x1000, 0x400000),
|
||||
FLASH_ID("puya p25q16", 0x03, 0x00, 0x02, 0x20, 0xc7, 0x00156085, 0x100, 0x1000, 0x200000),
|
||||
FLASH_ID("puya p25q80", 0x03, 0x00, 0x02, 0x20, 0xc7, 0x00146085, 0x100, 0x1000, 0x100000),
|
||||
FLASH_ID("puya p25q40", 0x03, 0x00, 0x02, 0x20, 0xc7, 0x00136085, 0x100, 0x1000, 0x80000),
|
||||
FLASH_ID("puya p25q20", 0x03, 0x00, 0x02, 0x20, 0xc7, 0x00126085, 0x100, 0x1000, 0x40000),
|
||||
FLASH_ID("puya p25q10", 0x03, 0x00, 0x02, 0x20, 0xc7, 0x00116085, 0x100, 0x1000, 0x20000),
|
||||
FLASH_ID("puya p25q05", 0x03, 0x00, 0x02, 0x20, 0xc7, 0x00106085, 0x100, 0x1000, 0x10000),
|
||||
FLASH_ID("bh bh25d80a", 0x03, 0x00, 0x02, 0xd8, 0xc7, 0x00144068, 0x100, 0x10000, 0x100000),
|
||||
FLASH_ID("bh bh25d40a", 0x03, 0x00, 0x02, 0xd8, 0xc7, 0x00134068, 0x100, 0x10000, 0x80000),
|
||||
FLASH_ID("bh bh25d20a", 0x03, 0x00, 0x02, 0xd8, 0xc7, 0x00124068, 0x100, 0x10000, 0x40000),
|
||||
FLASH_ID("xt xt25f256b", 0x03, 0xeb, 0x02, 0xd8, 0xc7, 0x0019400b, 0x100, 0x10000, 0x1000000),
|
||||
FLASH_ID("en en25s40a", 0x03, 0xeb, 0x02, 0xd8, 0xc7, 0x0013381c, 0x100, 0x10000, 0x400000),
|
||||
FLASH_ID("by by25q32al", 0x03, 0xeb, 0x02, 0xd8, 0xc7, 0x00166068, 0x100, 0x10000, 0x400000),
|
||||
FLASH_ID("fm fm25q128", 0x03, 0xeb, 0x02, 0xd8, 0xc7, 0x001840a1, 0x100, 0x10000, 0x1000000),
|
||||
FLASH_ID("by by25q32bs", 0x03, 0xeb, 0x02, 0xd8, 0xc7, 0x00164068, 0x100, 0x10000, 0x400000),
|
||||
FLASH_ID("sm sm25qh256mx", 0x03, 0xeb, 0x02, 0xd8, 0x20, 0x00196020, 0x100, 0x10000, 0x2000000),
|
||||
|
||||
FLASH_ID("custom flash", 0x03, 0x00, 0x02, 0xd8, 0xc7, 0x12345678, 0x100, 0x10000, 0x10000000),
|
||||
|
||||
/* FRAM, no erase commands, no write page or sectors */
|
||||
|
||||
|
|
Loading…
Reference in New Issue