]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mtd: spinand: Add an optional frequency to read from cache macros
authorMiquel Raynal <miquel.raynal@bootlin.com>
Fri, 10 Jan 2025 14:45:24 +0000 (15:45 +0100)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Wed, 15 Jan 2025 18:23:47 +0000 (19:23 +0100)
commit7ce0d16d5802bfde4209e52ee8ad644ca1eab423
tree94fa029c4b14702b3b7cb9e3d17d4346f18fc221
parent042087247835dad1ec5e39052abf022fd13c6326
mtd: spinand: Add an optional frequency to read from cache macros

While the SPINAND_PAGE_READ_FROM_CACHE_FAST_OP macro is supposed to be
able to run at the flash highest supported frequency, it is not the case
of the regular read from cache, which may be limited in terms of maximum
frequency. Add an optional argument to this macro, which will be used to
set the maximum frequency, if any.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
include/linux/mtd/spinand.h