summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand/Kconfig
diff options
context:
space:
mode:
authorAbhishek Sahu <absahu@codeaurora.org>2017-07-19 13:47:58 +0200
committerBoris Brezillon <boris.brezillon@free-electrons.com>2017-08-23 16:49:17 +0200
commit89f5127c4b0dcd847a2a0b5d0be37ca7366af9e5 (patch)
treeaf7c754c0b03dd6790bef10281d60e4ae428cfa1 /drivers/mtd/nand/Kconfig
parentmtd: nand: qcom: remove memset for clearing read register buffer (diff)
downloadlinux-89f5127c4b0dcd847a2a0b5d0be37ca7366af9e5.tar.xz
linux-89f5127c4b0dcd847a2a0b5d0be37ca7366af9e5.zip
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 'drivers/mtd/nand/Kconfig')
0 files changed, 0 insertions, 0 deletions