summaryrefslogtreecommitdiff
path: root/drivers/mtd/nand/mxc_nand.c
diff options
context:
space:
mode:
authorOfer Heifetz <oferh@marvell.com>2018-08-29 11:56:07 +0300
committerStefan Roese <sr@denx.de>2018-09-19 09:00:39 +0200
commitb87ae6f587e44e3974e41bd80dbc628540211604 (patch)
tree275b74f3d3eeadd71715eb09a47023f7f773ac71 /drivers/mtd/nand/mxc_nand.c
parent6bbe7f681feac91fc03a4dc2e88bc0d9391bfaa8 (diff)
downloadu-boot-b87ae6f587e44e3974e41bd80dbc628540211604.tar.gz
mtd: pxa3xx_nand: Fix initial controller configuration
The Data Flash Control Register (NDCR) contains two types of parameters: those that are needed for device identification, and those that can only be set after device identification. Therefore, the driver can't set them all at once and instead needs to configure the first group before nand_scan_ident() and the second group later. Let's split pxa3xx_nand_config in two halves, and set the parameters that depend on the device geometry once this is known. This commit is taken from Linux: 'commit 66e8e47eae65' ("mtd: pxa3xx_nand: Fix initial controller configuration") Signed-off-by: Chris Packham <judge.packham@gmail.com> Signed-off-by: Ofer Heifetz <oferh@marvell.com> Reviewed-by: Igal Liberman <igall@marvell.com> Cc: Stefan Roese <sr@denx.de> Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'drivers/mtd/nand/mxc_nand.c')
0 files changed, 0 insertions, 0 deletions