summaryrefslogtreecommitdiff
path: root/tools/laptop
diff options
context:
space:
mode:
authorHan Xu <han.xu@nxp.com>2020-12-08 21:51:03 -0600
committerMiquel Raynal <miquel.raynal@bootlin.com>2020-12-10 22:37:33 +0100
commit46337d158262465a89f3568c94410ea553aa15b9 (patch)
treeb3b560c44b6ab051c9e922c7170dc94f229bf757 /tools/laptop
parentb1209582fb08897ab9da47076d0637ed64e7a4c3 (diff)
downloadlinux-46337d158262465a89f3568c94410ea553aa15b9.tar.gz
linux-46337d158262465a89f3568c94410ea553aa15b9.tar.bz2
linux-46337d158262465a89f3568c94410ea553aa15b9.zip
mtd: rawnand: gpmi: Fix the driver only sense CS0 R/B issue
Set the GPMI CTRL1 GANGED_RDYBUSY bit so driver can sense the R/B signal from all CS. For the NAND chip MT29F64G08AFAAAWP, only the first chip detected without the patch. [ 3.764118] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0x68 [ 3.770613] nand: Micron MT29F64G08AFAAAWP [ 3.774752] nand: 4096 MiB, SLC, erase size: 1024 KiB, page size: 8192, OOB size: 448 [ 3.786421] Bad block table found at page 524160, version 0x01 [ 3.792730] Bad block table found at page 524032, version 0x01 After applying the patch [ 3.764445] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0x68 [ 3.770941] nand: Micron MT29F64G08AFAAAWP [ 3.775080] nand: 4096 MiB, SLC, erase size: 1024 KiB, page size: 8192, OOB size: 448 [ 3.784390] nand: 2 chips detected [ 3.790900] Bad block table found at page 524160, version 0x01 [ 3.796776] Bad block table found at page 1048448, version 0x01 Signed-off-by: Han Xu <han.xu@nxp.com> Acked-by: Sascha Hauer <s.hauer@pengutronix.de> Reviewed-by: Fabio Estevam <festevam@gmail.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/linux-mtd/20201209035104.22679-2-han.xu@nxp.com
Diffstat (limited to 'tools/laptop')
0 files changed, 0 insertions, 0 deletions