summaryrefslogtreecommitdiffstats
path: root/include/linux/string.h
diff options
context:
space:
mode:
authorMiquel Raynal <miquel.raynal@bootlin.com>2020-05-29 13:13:09 +0200
committerMiquel Raynal <miquel.raynal@bootlin.com>2020-06-26 08:35:06 +0200
commit98d6979aa898239ec2faa10467c338a808e1287e (patch)
treec7e638d98c3d96d02e02e6cba79157f597f5d48a /include/linux/string.h
parentfcaab3b26d2534ec9f227810975ad220823ac578 (diff)
downloadcachepc-linux-98d6979aa898239ec2faa10467c338a808e1287e.tar.gz
cachepc-linux-98d6979aa898239ec2faa10467c338a808e1287e.zip
mtd: rawnand: timings: Add a helper to find the closest ONFI mode
Vendors are allowed to provide their own set of timings. In this case, we provide a way to derive the "closest" timing mode so that, if the NAND controller does not support tweaking these parameters, it will be able to configure itself anyway. Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com> Link: https://lore.kernel.org/linux-mtd/20200529111322.7184-16-miquel.raynal@bootlin.com
Diffstat (limited to 'include/linux/string.h')
0 files changed, 0 insertions, 0 deletions