summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Müller <d.mueller@elsoft.ch>2010-12-21 10:09:56 +0100
committerStefan Roese <sr@denx.de>2011-01-11 10:43:31 +0100
commit3b8b240ddbd4ec399934c0becb43761c4a8be284 (patch)
tree3072b2974932be03b28df62ca785b5d2a08700e5
parent0e7790d450000c1a2cda40458adb28707eaa5041 (diff)
downloadu-boot-imx-3b8b240ddbd4ec399934c0becb43761c4a8be284.zip
u-boot-imx-3b8b240ddbd4ec399934c0becb43761c4a8be284.tar.gz
u-boot-imx-3b8b240ddbd4ec399934c0becb43761c4a8be284.tar.bz2
add AM29F400BB to table of supported legacy flashs
Signed-off-by: David Mueller <d.mueller@elsoft.ch> Signed-off-by: Stefan Roese <sr@denx.de>
-rw-r--r--drivers/mtd/jedec_flash.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/drivers/mtd/jedec_flash.c b/drivers/mtd/jedec_flash.c
index 223fb71..da8c9b1 100644
--- a/drivers/mtd/jedec_flash.c
+++ b/drivers/mtd/jedec_flash.c
@@ -41,6 +41,7 @@
#define AM29DL800BB 0x22CB
#define AM29DL800BT 0x224A
+#define AM29F400BB 0x22AB
#define AM29F800BB 0x2258
#define AM29F800BT 0x22D6
#define AM29LV400BB 0x22BA
@@ -296,6 +297,23 @@ static const struct amd_flash_info jedec_table[] = {
#ifdef CONFIG_SYS_FLASH_LEGACY_512Kx16
{
.mfr_id = (u16)AMD_MANUFACT,
+ .dev_id = AM29F400BB,
+ .name = "AMD AM29F400BB",
+ .uaddr = {
+ [1] = MTD_UADDR_0x0555_0x02AA /* x16 */
+ },
+ .DevSize = SIZE_512KiB,
+ .CmdSet = CFI_CMDSET_AMD_LEGACY,
+ .NumEraseRegions= 4,
+ .regions = {
+ ERASEINFO(0x04000, 1),
+ ERASEINFO(0x02000, 2),
+ ERASEINFO(0x08000, 1),
+ ERASEINFO(0x10000, 7),
+ }
+ },
+ {
+ .mfr_id = (u16)AMD_MANUFACT,
.dev_id = AM29LV400BB,
.name = "AMD AM29LV400BB",
.uaddr = {