comparison loadtools/fldevs.c @ 992:c4c400c1b10c

fc-loadtool flash: no flash2 ppb-erase-all All PPBs from across the entire flash chip can only be erased together as a unit, spanning across both banks on 16 MiB chips - therefore, we shall disallow 'flash2 ppb-erase-all', and accept 'flash ppb-erase-all' only.
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 03 Dec 2023 04:47:31 +0000
parents 0407d14fb854
children ad3041e19884
comparison
equal deleted inserted replaced
991:8aeb840bc25f 992:c4c400c1b10c
505 {0x10000, 3, 0, 0, 0}, 505 {0x10000, 3, 0, 0, 0},
506 {0x2000, 8, 0, 0, 1}}, 506 {0x2000, 8, 0, 0, 1}},
507 .have_status_word_3 = 1, 507 .have_status_word_3 = 1,
508 .ppb_program_one = plj_ppb_program_one, 508 .ppb_program_one = plj_ppb_program_one,
509 .ppb_program_all = plj_ppb_program_all, 509 .ppb_program_all = plj_ppb_program_all,
510 .ppb_erase_all = plj_ppb_erase_all_dualbank,
511 }; 510 };
512 511
513 struct flash_device flashdev_PL129J = { 512 struct flash_device flashdev_PL129J = {
514 .name = "Spansion S29PL129J", 513 .name = "Spansion S29PL129J",
515 .cfi_table = spansion_PL129J_cfi, 514 .cfi_table = spansion_PL129J_cfi,
713 {0x2000, 8, 0, 0, 1}}, 712 {0x2000, 8, 0, 0, 1}},
714 .have_status_word_3 = 1, 713 .have_status_word_3 = 1,
715 .have_status_word_7 = 1, 714 .have_status_word_7 = 1,
716 .ppb_program_one = plj_ppb_program_one, 715 .ppb_program_one = plj_ppb_program_one,
717 .ppb_program_all = plj_ppb_program_all, 716 .ppb_program_all = plj_ppb_program_all,
718 .ppb_erase_all = plj_ppb_erase_all_dualbank,
719 }; 717 };
720 718
721 struct flash_device flashdev_K5L29xx_A = { 719 struct flash_device flashdev_K5L29xx_A = {
722 .name = "Samsung K5L29xx_A", 720 .name = "Samsung K5L29xx_A",
723 .cfi_table = samsung_PL129J_equiv_cfi, 721 .cfi_table = samsung_PL129J_equiv_cfi,