[PATCH v1 0/2] use NAND core API for Meson controller

Arseniy Krasnov AVKrasnov at sberdevices.ru
Wed Jul 5 03:43:56 PDT 2023


During waiting for command completion this driver sends NAND_CMD_STATUS
and then NAND_CMD_READ0 to leave status checking mode. Instead of direct
accesses to the registers of the controller to send these commands, this
patchset uses currently implemented and exported NAND API for the same
purposes. First patch is preparation: we need to export function 
'nand_exit_status_op()' for modules. Second patch uses these functions
in the Meson driver.

Arseniy Krasnov (2):
  mtd: rawnand: export 'nand_exit_status_op()'
  mtd: rawnand: meson: use NAND core API to check status

 drivers/mtd/nand/raw/meson_nand.c | 26 ++++++++++++--------------
 drivers/mtd/nand/raw/nand_base.c  |  1 +
 include/linux/mtd/rawnand.h       |  1 +
 3 files changed, 14 insertions(+), 14 deletions(-)

-- 
2.35.0




More information about the linux-arm-kernel mailing list