|
@@ -1540,15 +1540,6 @@ int nand_isbad_bbt(struct nand_chip *chip, loff_t offs, int allowbbt);
|
|
|
int nand_erase_nand(struct nand_chip *chip, struct erase_info *instr,
|
|
|
int allowbbt);
|
|
|
|
|
|
-/* return the supported asynchronous timing mode. */
|
|
|
-static inline int onfi_get_async_timing_mode(struct nand_chip *chip)
|
|
|
-{
|
|
|
- if (!chip->parameters.onfi)
|
|
|
- return ONFI_TIMING_MODE_UNKNOWN;
|
|
|
-
|
|
|
- return chip->parameters.onfi->async_timing_mode;
|
|
|
-}
|
|
|
-
|
|
|
int onfi_fill_data_interface(struct nand_chip *chip,
|
|
|
enum nand_data_interface_type type,
|
|
|
int timing_mode);
|