FreeCalypso > hg > freecalypso-tools
comparison loadtools/fldevs.c @ 916:54a0bc149d9c
fc-loadtool: add support for Samsung K5L29xx_A flash
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 30 Dec 2022 21:07:30 +0000 |
parents | dbbafb1f33f3 |
children | 7c18eac91457 |
comparison
equal
deleted
inserted
replaced
915:71edc12b1aa7 | 916:54a0bc149d9c |
---|---|
427 .cfi_table = samsung_4M_bothends_cfi, | 427 .cfi_table = samsung_4M_bothends_cfi, |
428 .required_global_config = FLASH_GLOBAL_CFG_SINGLE_4M, | 428 .required_global_config = FLASH_GLOBAL_CFG_SINGLE_4M, |
429 .bank_geom = {&geom_4M_bothends, 0}, | 429 .bank_geom = {&geom_4M_bothends, 0}, |
430 .cmdset = &flash_cmdset_amd, | 430 .cmdset = &flash_cmdset_amd, |
431 }; | 431 }; |
432 | |
433 /* Samsung equivalent of S71PL129J, found in Sony Ericsson K200/220 phones */ | |
434 | |
435 static struct cfi_check samsung_PL129J_equiv_cfi[] = { | |
436 {0x10, 'Q'}, | |
437 {0x11, 'R'}, | |
438 {0x12, 'Y'}, | |
439 {0x13, 0x02}, | |
440 {0x14, 0x00}, | |
441 {0x15, 0x40}, | |
442 {0x16, 0x00}, | |
443 {0x27, 0x18}, | |
444 {0x2C, 0x03}, | |
445 {0x2D, 0x07}, | |
446 {0x2E, 0x00}, | |
447 {0x2F, 0x20}, | |
448 {0x30, 0x00}, | |
449 {0x31, 0xFD}, | |
450 {0x32, 0x00}, | |
451 {0x33, 0x00}, | |
452 {0x34, 0x01}, | |
453 {0x35, 0x07}, | |
454 {0x36, 0x00}, | |
455 {0x37, 0x20}, | |
456 {0x38, 0x00}, | |
457 {0x40, 'P'}, | |
458 {0x41, 'R'}, | |
459 {0x42, 'I'}, | |
460 {0x43, '0'}, | |
461 {0x44, '0'}, | |
462 {0x4F, 0x04}, | |
463 {-1, 0} | |
464 }; | |
465 | |
466 struct flash_device flashdev_K5L29xx_A = { | |
467 .name = "Samsung K5L29xx_A", | |
468 .cfi_table = samsung_PL129J_equiv_cfi, | |
469 .required_global_config = FLASH_GLOBAL_CFG_DUAL_8M, | |
470 .bank_geom = {&geom_8M_bottomboot, &geom_8M_topboot}, | |
471 .cmdset = &flash_cmdset_amd, | |
472 }; |