Skip to content
Snippets Groups Projects
Commit f3c89d92 authored by Dirk Eibach's avatar Dirk Eibach Committed by Stefan Roese
Browse files

mtd: Handle 29LV800BT


The device id makes u-boot think that this chip needs
cfi_reverse_geometry(), which is not the case.
Add it to jedec_flash, so it is handled properly.

Signed-off-by: default avatarDirk Eibach <dirk.eibach@gdsys.cc>
Signed-off-by: default avatarStefan Roese <sr@denx.de>
parent f9af10dd
No related branches found
No related tags found
No related merge requests found
...@@ -332,6 +332,57 @@ static const struct amd_flash_info jedec_table[] = { ...@@ -332,6 +332,57 @@ static const struct amd_flash_info jedec_table[] = {
ERASEINFO(0x10000, 15), ERASEINFO(0x10000, 15),
} }
}, },
{
.mfr_id = (u16)AMD_MANUFACT,
.dev_id = AM29LV800BT,
.name = "AMD AM29LV800BT",
.uaddr = {
[1] = MTD_UADDR_0x0555_0x02AA /* x16 */
},
.DevSize = SIZE_1MiB,
.CmdSet = CFI_CMDSET_AMD_LEGACY,
.NumEraseRegions= 4,
.regions = {
ERASEINFO(0x10000, 15),
ERASEINFO(0x08000, 1),
ERASEINFO(0x02000, 2),
ERASEINFO(0x04000, 1),
}
},
{
.mfr_id = (u16)MX_MANUFACT,
.dev_id = AM29LV800BT,
.name = "MXIC MX29LV800BT",
.uaddr = {
[1] = MTD_UADDR_0x0555_0x02AA /* x16 */
},
.DevSize = SIZE_1MiB,
.CmdSet = CFI_CMDSET_AMD_LEGACY,
.NumEraseRegions= 4,
.regions = {
ERASEINFO(0x10000, 15),
ERASEINFO(0x08000, 1),
ERASEINFO(0x02000, 2),
ERASEINFO(0x04000, 1),
}
},
{
.mfr_id = (u16)EON_ALT_MANU,
.dev_id = AM29LV800BT,
.name = "EON EN29LV800BT",
.uaddr = {
[1] = MTD_UADDR_0x0555_0x02AA /* x16 */
},
.DevSize = SIZE_1MiB,
.CmdSet = CFI_CMDSET_AMD_LEGACY,
.NumEraseRegions= 4,
.regions = {
ERASEINFO(0x10000, 15),
ERASEINFO(0x08000, 1),
ERASEINFO(0x02000, 2),
ERASEINFO(0x04000, 1),
}
},
{ {
.mfr_id = (u16)STM_MANUFACT, .mfr_id = (u16)STM_MANUFACT,
.dev_id = STM29F400BB, .dev_id = STM29F400BB,
......
...@@ -158,6 +158,7 @@ extern flash_info_t *flash_get_info(ulong base); ...@@ -158,6 +158,7 @@ extern flash_info_t *flash_get_info(ulong base);
#define EXCEL_MANUFACT 0x004A004A /* Excel Semiconductor */ #define EXCEL_MANUFACT 0x004A004A /* Excel Semiconductor */
#define AMIC_MANUFACT 0x00370037 /* AMIC manuf. ID in D23..D16, D7..D0 */ #define AMIC_MANUFACT 0x00370037 /* AMIC manuf. ID in D23..D16, D7..D0 */
#define WINB_MANUFACT 0x00DA00DA /* Winbond manuf. ID in D23..D16, D7..D0 */ #define WINB_MANUFACT 0x00DA00DA /* Winbond manuf. ID in D23..D16, D7..D0 */
#define EON_ALT_MANU 0x001C001C /* EON manuf. ID in D23..D16, D7..D0 */
/* Manufacturers inside bank 1 have ids like 0x01xx01xx */ /* Manufacturers inside bank 1 have ids like 0x01xx01xx */
#define EON_MANUFACT 0x011C011C /* EON manuf. ID in D23..D16, D7..D0 */ #define EON_MANUFACT 0x011C011C /* EON manuf. ID in D23..D16, D7..D0 */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment