File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -194,11 +194,21 @@ static void toshiba_nand_decode_id(struct nand_chip *chip)
194
194
}
195
195
}
196
196
197
+ static int
198
+ tc58teg5dclta00_choose_interface_config (struct nand_chip * chip ,
199
+ struct nand_interface_config * iface )
200
+ {
201
+ onfi_fill_interface_config (chip , iface , NAND_SDR_IFACE , 5 );
202
+
203
+ return nand_choose_best_sdr_timings (chip , iface , NULL );
204
+ }
205
+
197
206
static int tc58teg5dclta00_init (struct nand_chip * chip )
198
207
{
199
208
struct mtd_info * mtd = nand_to_mtd (chip );
200
209
201
- chip -> onfi_timing_mode_default = 5 ;
210
+ chip -> ops .choose_interface_config =
211
+ & tc58teg5dclta00_choose_interface_config ;
202
212
chip -> options |= NAND_NEED_SCRAMBLING ;
203
213
mtd_set_pairing_scheme (mtd , & dist3_pairing_scheme );
204
214
You can’t perform that action at this time.
0 commit comments