summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorOfer Heifetz <[email protected]>2018-08-29 11:56:07 +0300
committerStefan Roese <[email protected]>2018-09-19 09:00:39 +0200
commitb87ae6f587e44e3974e41bd80dbc628540211604 (patch)
tree275b74f3d3eeadd71715eb09a47023f7f773ac71 /include/linux
parent6bbe7f681feac91fc03a4dc2e88bc0d9391bfaa8 (diff)
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 <[email protected]> Signed-off-by: Ofer Heifetz <[email protected]> Reviewed-by: Igal Liberman <[email protected]> Cc: Stefan Roese <[email protected]> Cc: Simon Glass <[email protected]> Signed-off-by: Stefan Roese <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions