diff options
author | Abhishek Sahu <absahu@codeaurora.org> | 2017-07-19 13:47:58 +0200 |
---|---|---|
committer | Boris Brezillon <boris.brezillon@free-electrons.com> | 2017-08-23 16:49:17 +0200 |
commit | 89f5127c4b0dcd847a2a0b5d0be37ca7366af9e5 (patch) | |
tree | af7c754c0b03dd6790bef10281d60e4ae428cfa1 /drivers/mtd/nand/Kconfig | |
parent | mtd: nand: qcom: remove memset for clearing read register buffer (diff) | |
download | linux-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