flashchips: Fix block-protection bits for 4BA Puya chips

Like many other 4BA chips with >= 32MiB flash space, these chips use
a fourth BP bit to encode the size of the protected area. The TB bit
takes the SEC bit's place, which is sacrificed.

Change-Id: Iac2c817e8650d4d57ff94d41eba49f84cbb66d7d
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.sourcearcade.org/c/flashprog/+/329
diff --git a/flashchips.c b/flashchips.c
index f939505..c4dfe1c 100644
--- a/flashchips.c
+++ b/flashchips.c
@@ -18028,9 +18028,8 @@
 			.qe	= {STATUS2, 1, RW},
 			.srp	= {STATUS1, 7, RW},
 			.srl	= {STATUS2, 0, RW},
-			.bp	= {{STATUS1, 2, RW}, {STATUS1, 3, RW}, {STATUS1, 4, RW}},
-			.tb	= {STATUS1, 5, RW},
-			.sec	= {STATUS1, 6, RW},
+			.bp	= {{STATUS1, 2, RW}, {STATUS1, 3, RW}, {STATUS1, 4, RW}, {STATUS1, 5, RW}},
+			.tb	= {STATUS1, 6, RW},
 			.cmp	= {STATUS2, 6, RW},
 			.wps	= {STATUS3, 2, RW}, /* Called configuration register in datasheet. */
 		},
@@ -18095,9 +18094,8 @@
 			.qe	= {STATUS2, 1, RO}, /* Fixed QE=1 */
 			.srp	= {STATUS1, 7, RW},
 			.srl	= {STATUS2, 0, RW},
-			.bp	= {{STATUS1, 2, RW}, {STATUS1, 3, RW}, {STATUS1, 4, RW}},
-			.tb	= {STATUS1, 5, RW},
-			.sec	= {STATUS1, 6, RW},
+			.bp	= {{STATUS1, 2, RW}, {STATUS1, 3, RW}, {STATUS1, 4, RW}, {STATUS1, 5, RW}},
+			.tb	= {STATUS1, 6, RW},
 			.cmp	= {STATUS2, 6, RW},
 			.wps	= {STATUS3, 2, RW}, /* Called configuration register in datasheet. */
 		},
@@ -18162,9 +18160,8 @@
 			.qe	= {STATUS2, 1, RW},
 			.srp	= {STATUS1, 7, RW},
 			.srl	= {STATUS2, 0, RW},
-			.bp	= {{STATUS1, 2, RW}, {STATUS1, 3, RW}, {STATUS1, 4, RW}},
-			.tb	= {STATUS1, 5, RW},
-			.sec	= {STATUS1, 6, RW},
+			.bp	= {{STATUS1, 2, RW}, {STATUS1, 3, RW}, {STATUS1, 4, RW}, {STATUS1, 5, RW}},
+			.tb	= {STATUS1, 6, RW},
 			.cmp	= {STATUS2, 6, RW},
 			.wps	= {STATUS3, 2, RW}, /* Called configuration register in datasheet. */
 		},
@@ -18229,9 +18226,8 @@
 			.qe	= {STATUS2, 1, RO}, /* Fixed QE=1 */
 			.srp	= {STATUS1, 7, RW},
 			.srl	= {STATUS2, 0, RW},
-			.bp	= {{STATUS1, 2, RW}, {STATUS1, 3, RW}, {STATUS1, 4, RW}},
-			.tb	= {STATUS1, 5, RW},
-			.sec	= {STATUS1, 6, RW},
+			.bp	= {{STATUS1, 2, RW}, {STATUS1, 3, RW}, {STATUS1, 4, RW}, {STATUS1, 5, RW}},
+			.tb	= {STATUS1, 6, RW},
 			.cmp	= {STATUS2, 6, RW},
 			.wps	= {STATUS3, 2, RW}, /* Called configuration register in datasheet. */
 		},
@@ -18296,9 +18292,8 @@
 			.qe	= {STATUS2, 1, RW},
 			.srp	= {STATUS1, 7, RW},
 			.srl	= {STATUS2, 0, RW},
-			.bp	= {{STATUS1, 2, RW}, {STATUS1, 3, RW}, {STATUS1, 4, RW}},
-			.tb	= {STATUS1, 5, RW},
-			.sec	= {STATUS1, 6, RW},
+			.bp	= {{STATUS1, 2, RW}, {STATUS1, 3, RW}, {STATUS1, 4, RW}, {STATUS1, 5, RW}},
+			.tb	= {STATUS1, 6, RW},
 			.cmp	= {STATUS2, 6, RW},
 			.wps	= {STATUS3, 2, RW}, /* Called configuration register in datasheet. */
 		},