diff options
author | Wolfgang Denk <wd@denx.de> | 2008-04-07 23:55:47 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-04-07 23:55:47 +0200 |
commit | 23c5189e6c969255f8c91b30fdf1cf81b698329d (patch) | |
tree | 6a45bc813a00627066e70825626a331e079acf9d /drivers/mtd/jedec_flash.c | |
parent | 6de5420370f0a796c325579f49a47d859ea1b1da (diff) | |
parent | 97bf85d784fbed485e652eb907589ad0d5cb7262 (diff) | |
download | u-boot-imx-23c5189e6c969255f8c91b30fdf1cf81b698329d.zip u-boot-imx-23c5189e6c969255f8c91b30fdf1cf81b698329d.tar.gz u-boot-imx-23c5189e6c969255f8c91b30fdf1cf81b698329d.tar.bz2 |
Merge branch 'master' of git://www.denx.de/git/u-boot-cfi-flash
Diffstat (limited to 'drivers/mtd/jedec_flash.c')
-rw-r--r-- | drivers/mtd/jedec_flash.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/drivers/mtd/jedec_flash.c b/drivers/mtd/jedec_flash.c index 41aad3b..b958d17 100644 --- a/drivers/mtd/jedec_flash.c +++ b/drivers/mtd/jedec_flash.c @@ -216,6 +216,25 @@ static const struct amd_flash_info jedec_table[] = { } }, #endif +#ifdef CFG_FLASH_LEGACY_512Kx16 + { + .mfr_id = MANUFACTURER_AMD, + .dev_id = AM29LV400BB, + .name = "AMD AM29LV400BB", + .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), + } + }, +#endif }; static inline void fill_info(flash_info_t *info, const struct amd_flash_info *jedec_entry, ulong base) |