commit | 84caff35df0a399051171e4a05c6cbcadd919b64 | [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 | b7d3e4a63580198237bdce989d5514476056ee16 [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>