comparison loadtools/fldevs.c @ 980:0a4d19aab608

PL129N lock-state cosmetic: 256 KiB blocks are single sectors
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 02 Dec 2023 04:31:58 +0000
parents c5133c3c11b1
children 0407d14fb854
comparison
equal deleted inserted replaced
979:c5133c3c11b1 980:0a4d19aab608
552 552
553 static struct amd_lock_info PL129N_lock_info_0 = { 553 static struct amd_lock_info PL129N_lock_info_0 = {
554 .ngroups = 3, 554 .ngroups = 3,
555 .groups = { 555 .groups = {
556 {0x10000, 4, 0, 1, 0}, 556 {0x10000, 4, 0, 1, 0},
557 {0x40000, 7, 1, 0, 1}, 557 {0x40000, 7, 0, 0, 1},
558 {0x40000, 24, 1, 1, 1}}, 558 {0x40000, 24, 0, 1, 1}},
559 .have_status_word_3 = 1, 559 .have_status_word_3 = 1,
560 .have_pln_lock_reg = 1, 560 .have_pln_lock_reg = 1,
561 }; 561 };
562 562
563 static struct amd_lock_info PL129N_lock_info_1 = { 563 static struct amd_lock_info PL129N_lock_info_1 = {
564 .ngroups = 3, 564 .ngroups = 3,
565 .groups = { 565 .groups = {
566 {0x40000, 24, 1, 1, 1}, 566 {0x40000, 24, 0, 1, 1},
567 {0x40000, 7, 1, 1, 0}, 567 {0x40000, 7, 0, 1, 0},
568 {0x10000, 4, 0, 0, 1}}, 568 {0x10000, 4, 0, 0, 1}},
569 .have_status_word_3 = 1, 569 .have_status_word_3 = 1,
570 }; 570 };
571 571
572 struct flash_device flashdev_PL129N = { 572 struct flash_device flashdev_PL129N = {