mtd: rawnand: Add an indirection on onfi_fill_interface_config()
authorMiquel Raynal <miquel.raynal@bootlin.com>
Wed, 5 May 2021 21:37:38 +0000 (23:37 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Wed, 26 May 2021 08:43:48 +0000 (10:43 +0200)
commit94c8ce8e3e96f549ff16381e82974c0af012a7f8
tree8af7b0a241aac207ec61196d0652a118465e9823
parent9310668fb60a7ee76c4fdfd6388747a6f2beaf75
mtd: rawnand: Add an indirection on onfi_fill_interface_config()

This helper actually fills the interface configuration with SDR data.
As part of the work to bring NV-DDR support, let's rename this helper
onfi_fill_sdr_interface_config() and add a generic indirection to it.

There are no functional changes here, but this will simplify a next
change which adds onfi_fill_nvddr_interface_config() support.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20210505213750.257417-11-miquel.raynal@bootlin.com
drivers/mtd/nand/raw/nand_timings.c