summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/mtdblock.c
diff options
context:
space:
mode:
authorAbhishek Sahu <absahu@codeaurora.org>2017-08-17 17:37:43 +0530
committerBoris Brezillon <boris.brezillon@free-electrons.com>2017-08-23 16:49:27 +0200
commit91af95c143088d4c17d1fad238c4b0e999f4a5e8 (patch)
tree570fd0c72cf59030134f2e3e6278d1c81e93ad53 /drivers/mtd/mtdblock.c
parent67e830aef3f81affe23e50708f16d35550153836 (diff)
downloadlinux-91af95c143088d4c17d1fad238c4b0e999f4a5e8.tar.bz2
mtd: nand: qcom: support for read location registers
In EBI2, all codeword data will be read in FLASH_BUF_ACC buffer and ADM will copy the data from source (FLASH_BUF_ACC) to destination (memory for data read). In QPIC, there is no FLASH_BUF_ACC and all the codeword data will held in QPIC BAM FIFO buffers. It provides multiple READ_LOCATION registers which will be used for copying the data from FIFO to memory. The READ_LOCATION register will be used to read a specific amount of data from a specific offset within the flash buffer. It supports sequential offset requests. Each request is composed of the following fields: a. Offset within the flash buffer from which data should be read b. Amount of data to be read c. Flag bit specifying the last read request from the flash buffer. Following the last read request the NANDc refers to the buffer as empty. Reviewed-by: Archit Taneja <architt@codeaurora.org> Signed-off-by: Abhishek Sahu <absahu@codeaurora.org> Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Diffstat (limited to 'drivers/mtd/mtdblock.c')
0 files changed, 0 insertions, 0 deletions