summaryrefslogtreecommitdiff
path: root/firmware/target
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target')
-rw-r--r--firmware/target/mips/ingenic_x1000/nand-x1000.c1
-rw-r--r--firmware/target/mips/ingenic_x1000/nand-x1000.h3
2 files changed, 4 insertions, 0 deletions
diff --git a/firmware/target/mips/ingenic_x1000/nand-x1000.c b/firmware/target/mips/ingenic_x1000/nand-x1000.c
index 46187da9b9..5838b21b39 100644
--- a/firmware/target/mips/ingenic_x1000/nand-x1000.c
+++ b/firmware/target/mips/ingenic_x1000/nand-x1000.c
@@ -69,6 +69,7 @@ const nand_chip supported_nand_chips[] = {
69 .page_size = 2048, 69 .page_size = 2048,
70 .oob_size = 64, 70 .oob_size = 64,
71 .nr_blocks = 1024, 71 .nr_blocks = 1024,
72 .bbm_pos = 2048,
72 .clock_freq = 150000000, 73 .clock_freq = 150000000,
73 .dev_conf = jz_orf(SFC_DEV_CONF, 74 .dev_conf = jz_orf(SFC_DEV_CONF,
74 CE_DL(1), HOLD_DL(1), WP_DL(1), 75 CE_DL(1), HOLD_DL(1), WP_DL(1),
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