summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorAbhishek Sahu <absahu@codeaurora.org>2017-07-19 14:47:56 +0300
committerBoris Brezillon <boris.brezillon@free-electrons.com>2017-08-23 17:49:16 +0300
commit77cc5364770387380dd5353625986576209de21c (patch)
tree40f43c7346c60bbe5e7139538ac4afecfd516adc /tools/perf/scripts/python/export-to-postgresql.py
parentbde4330aad1b775853431f9abe014a909c945726 (diff)
downloadlinux-77cc5364770387380dd5353625986576209de21c.tar.xz
mtd: nand: qcom: reorganize nand page write
Each NAND page consist of multiple codewords. Following is sequence for NAND page write according to hardware guide. 1. Program Power-up configuration, page row, page column address and flash configuration registers. 2. Write NAND_FLASH_CMD followed by NANC_EXEC_CMD for each codeword. 3. Read NAND_FLASH_STATUS for each codeword. The step 1 should be done once for each page and step 2,3 should be done for each codeword. Currently, all the 3 steps are being done for each codeword which is wrong. Now this patch reorganizes page write functions to configure page specific register once and per codeword specific registers for each NAND ECC step. Signed-off-by: Abhishek Sahu <absahu@codeaurora.org> Reviewed-by: Archit Taneja <architt@codeaurora.org> Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions