|
@@ -563,6 +563,7 @@ extern int nand_do_read(struct mtd_info *mtd, loff_t from, size_t len,
|
|
* @options: Option flags, e.g. 16bit buswidth
|
|
* @options: Option flags, e.g. 16bit buswidth
|
|
* @ecclayout: ecc layout info structure
|
|
* @ecclayout: ecc layout info structure
|
|
* @part_probe_types: NULL-terminated array of probe types
|
|
* @part_probe_types: NULL-terminated array of probe types
|
|
|
|
+ * @set_parts: platform specific function to set partitions
|
|
* @priv: hardware controller specific settings
|
|
* @priv: hardware controller specific settings
|
|
*/
|
|
*/
|
|
struct platform_nand_chip {
|
|
struct platform_nand_chip {
|
|
@@ -574,6 +575,8 @@ struct platform_nand_chip {
|
|
int chip_delay;
|
|
int chip_delay;
|
|
unsigned int options;
|
|
unsigned int options;
|
|
const char **part_probe_types;
|
|
const char **part_probe_types;
|
|
|
|
+ void (*set_parts)(uint64_t size,
|
|
|
|
+ struct platform_nand_chip *chip);
|
|
void *priv;
|
|
void *priv;
|
|
};
|
|
};
|
|
|
|
|