Skip to content
Commit cd72a950 authored by Roger Quadros's avatar Roger Quadros Committed by Dario Binacchi
Browse files

mtd: rawnand: omap_gpmc: Optimize NAND reads



Rename omap_nand_read() to omap_nand_read_buf() to reflect
actual behaviour.

Use FIFO read address instead of raw read address for reads.

The GPMC automatically converts 32-bit/16-bit reads to NAND
device specific reads (8/16 bit). Use the largest possible
read granularity size for more efficient reads.

Signed-off-by: default avatarRoger Quadros <rogerq@kernel.org>
Reviewed-by: default avatarMichael Trimarchi <michael@amarulasolutions.com>
Link: https://lore.kernel.org/all/20221011115012.6181-5-rogerq@kernel.org


Signed-off-by: default avatarDario Binacchi <dario.binacchi@amarulasolutions.com>
parent 7e4a494c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment