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:58 +0300
committerBoris Brezillon <boris.brezillon@free-electrons.com>2017-08-23 17:49:17 +0300
commit89f5127c4b0dcd847a2a0b5d0be37ca7366af9e5 (patch)
treeaf7c754c0b03dd6790bef10281d60e4ae428cfa1 /tools/perf/scripts/python/export-to-postgresql.py
parenteb6df28ef63d0ac9d8bb86483d8840fa95da4a8b (diff)
downloadlinux-89f5127c4b0dcd847a2a0b5d0be37ca7366af9e5.tar.xz
mtd: nand: qcom: reorganize nand devices probing
The NAND controller can support multiple NAND devices having different page sizes. Future code will require us to allocate memory based on the maximum number of codewords among all the devices. We reorganize the NAND device probing such that the ONFI parameters are first read for each connected device to identify the maximum number of codewords possible, and only then proceed with MTD device registration (i.e, call nand_scan_tail and mtd_device_register). This is a reorganization of the existing code and will not change any functionality. Signed-off-by: Abhishek Sahu <absahu@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