commit | 4d21b5992ab6b9cad5a5486e101ccec014650c08 | [log] [tgz] |
---|---|---|
author | Kevin Smith <kevin.smith@elecsyscorp.com> | Thu Jan 14 16:01:38 2016 +0000 |
committer | Scott Wood <scottwood@freescale.com> | Fri Feb 12 17:13:47 2016 -0600 |
tree | 906416eda7ad1b17ef94710baeb902e80426e248 | |
parent | 8a02d63992f84c12affba06e145286ae9ab67dcc [diff] |
mtd: pxa3xx_nand: Correct offset calculation Correct some pointer math in initialization. An offset was added to a struct-typed pointer instead of one casted to a byte-size, resulting in a much larger offset than intended. Signed-off-by: Kevin Smith <kevin.smith@elecsyscorp.com> Cc: Stefan Roese <sr@denx.de> Cc: Luka Perkov <luka.perkov@sartura.hr> Cc: Scott Wood <scottwood@freescale.com>