diff options
author | Md Sadre Alam <mdalam@codeaurora.org> | 2021-02-24 01:09:00 +0530 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2021-03-11 09:37:30 +0100 |
commit | e7a307f21a514ce7aacee492011589999456d820 (patch) | |
tree | 8ce0fbe7a06624e931c83d5c49ab895d63d93ce0 /drivers/mtd/nand/raw/nand_amd.c | |
parent | 622d3fc8de7d88def6e2b7cb00432e9c7c595c0b (diff) | |
download | linux-stable-e7a307f21a514ce7aacee492011589999456d820.tar.gz linux-stable-e7a307f21a514ce7aacee492011589999456d820.tar.bz2 linux-stable-e7a307f21a514ce7aacee492011589999456d820.zip |
mtd: rawnand: qcom: Add helper to configure location register
Create a nandc_set_read_loc() helper to abstract the
configuration of the location register.
QPIC v2 onwards features a separate location register
for the last codeword, so introducing this extra helper
which will simplify the addition of QPIC v2 support.
Signed-off-by: Md Sadre Alam <mdalam@codeaurora.org>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/1614109141-7531-4-git-send-email-mdalam@codeaurora.org
Diffstat (limited to 'drivers/mtd/nand/raw/nand_amd.c')
0 files changed, 0 insertions, 0 deletions