From 7949839e5836bf8b1074bb6142c46d30ac3aa350 Mon Sep 17 00:00:00 2001 From: Guennadi Liakhovetski Date: Tue, 5 Aug 2008 15:36:39 +0200 Subject: [PATCH] cfi-flash: Add definition for the AM29LV800BB AMD NOR-flash Signed-off-by: Guennadi Liakhovetski Signed-off-by: Stefan Roese --- drivers/mtd/jedec_flash.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/drivers/mtd/jedec_flash.c b/drivers/mtd/jedec_flash.c index 9845e9364e..020647a7ca 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 }; -- 2.39.5