[PATCH v3 2/3] mtd: nand: mxc_nand: implement exec_op

Miquel Raynal miquel.raynal at bootlin.com
Thu May 16 01:32:14 PDT 2024


Hi Sascha,

> +static const struct nand_op_parser mxcnd_op_parser = NAND_OP_PARSER(
> +	NAND_OP_PARSER_PATTERN(mxcnd_do_exec_op,
> +			       NAND_OP_PARSER_PAT_CMD_ELEM(false),
> +			       NAND_OP_PARSER_PAT_ADDR_ELEM(true, 7),
> +			       NAND_OP_PARSER_PAT_CMD_ELEM(true),
> +			       NAND_OP_PARSER_PAT_WAITRDY_ELEM(true),
> +			       NAND_OP_PARSER_PAT_DATA_IN_ELEM(true, MAX_DATA_SIZE)),

CMD, ADDR, CMD, DATA is the RNDOUT pattern. So it is now working fine?
Or did you forget to adapt the patterns to your use case?


Thanks,
Miquèl



More information about the linux-mtd mailing list