|
|
@@ -785,11 +785,15 @@ nand_get_sdr_timings(const struct nand_data_interface *conf)
|
|
|
* implementation) if any.
|
|
|
* @cleanup: the ->init() function may have allocated resources, ->cleanup()
|
|
|
* is here to let vendor specific code release those resources.
|
|
|
+ * @fixup_onfi_param_page: apply vendor specific fixups to the ONFI parameter
|
|
|
+ * page. This is called after the checksum is verified.
|
|
|
*/
|
|
|
struct nand_manufacturer_ops {
|
|
|
void (*detect)(struct nand_chip *chip);
|
|
|
int (*init)(struct nand_chip *chip);
|
|
|
void (*cleanup)(struct nand_chip *chip);
|
|
|
+ void (*fixup_onfi_param_page)(struct nand_chip *chip,
|
|
|
+ struct nand_onfi_params *p);
|
|
|
};
|
|
|
|
|
|
/**
|