summaryrefslogtreecommitdiff
path: root/firmware/target/mips/ingenic_x1000/nand-x1000.h
diff options
context:
space:
mode:
authorAidan MacDonald <amachronic@protonmail.com>2022-03-19 19:02:24 +0000
committerAidan MacDonald <amachronic@protonmail.com>2022-03-24 23:40:07 +0000
commit5b011c8dca39a082cd020d0713199b4e269c0270 (patch)
tree5c2cc1f6bfe236acaf7ee76681ae8118d3bc110a /firmware/target/mips/ingenic_x1000/nand-x1000.h
parent9bbe08f3ec4c7546fdb5f5599755f6101294dc19 (diff)
downloadrockbox-5b011c8dca39a082cd020d0713199b4e269c0270.tar.gz
rockbox-5b011c8dca39a082cd020d0713199b4e269c0270.zip
x1000: add bad block marker position to nand_chip info
Change-Id: I6f466d87f6f11bc3e23463c469f318ecb7049ba7
Diffstat (limited to 'firmware/target/mips/ingenic_x1000/nand-x1000.h')
-rw-r--r--firmware/target/mips/ingenic_x1000/nand-x1000.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/target/mips/ingenic_x1000/nand-x1000.h b/firmware/target/mips/ingenic_x1000/nand-x1000.h
index 711bf190b5..668b3e3f82 100644
--- a/firmware/target/mips/ingenic_x1000/nand-x1000.h
+++ b/firmware/target/mips/ingenic_x1000/nand-x1000.h
@@ -78,6 +78,9 @@ typedef struct nand_chip {
78 /* Total number of blocks in the chip */ 78 /* Total number of blocks in the chip */
79 unsigned nr_blocks; 79 unsigned nr_blocks;
80 80
81 /* Bad block marker offset within the 1st page of a bad block */
82 unsigned bbm_pos;
83
81 /* Clock frequency to use */ 84 /* Clock frequency to use */
82 uint32_t clock_freq; 85 uint32_t clock_freq;
83 86