diff options
author | Guennadi Liakhovetski <lg@denx.de> | 2008-08-05 15:36:39 +0200 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2008-08-06 14:19:06 +0200 |
commit | 7949839e5836bf8b1074bb6142c46d30ac3aa350 (patch) | |
tree | d30192f88e1fcd7c5cc57030f66eb4e9ac3f63df /drivers | |
parent | 81091f58f0c58ecd26c5b05de2ae20ca6cdb521c (diff) | |
download | u-boot-imx-7949839e5836bf8b1074bb6142c46d30ac3aa350.zip u-boot-imx-7949839e5836bf8b1074bb6142c46d30ac3aa350.tar.gz u-boot-imx-7949839e5836bf8b1074bb6142c46d30ac3aa350.tar.bz2 |
cfi-flash: Add definition for the AM29LV800BB AMD NOR-flash
Signed-off-by: Guennadi Liakhovetski <lg@denx.de>
Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/mtd/jedec_flash.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/drivers/mtd/jedec_flash.c b/drivers/mtd/jedec_flash.c index 9845e93..020647a 100644 --- a/drivers/mtd/jedec_flash.c +++ b/drivers/mtd/jedec_flash.c @@ -234,6 +234,23 @@ static const struct amd_flash_info jedec_table[] = { ERASEINFO(0x10000,7), } }, + { + .mfr_id = MANUFACTURER_AMD, + .dev_id = AM29LV800BB, + .name = "AMD AM29LV800BB", + .uaddr = { + [1] = MTD_UADDR_0x0555_0x02AA /* x16 */ + }, + .DevSize = SIZE_1MiB, + .CmdSet = CFI_CMDSET_AMD_LEGACY, + .NumEraseRegions= 4, + .regions = { + ERASEINFO(0x04000, 1), + ERASEINFO(0x02000, 2), + ERASEINFO(0x08000, 1), + ERASEINFO(0x10000, 15), + } + }, #endif }; |