commit | 927a3dcd5bd65c516338d8dc1b2ac797af081234 | [log] [tgz] |
---|---|---|
author | Peng Fan <peng.fan@nxp.com> | Sat Dec 15 12:19:49 2018 +0000 |
committer | Stefano Babic <sbabic@denx.de> | Wed Jan 09 17:03:45 2019 +0100 |
tree | 2303c7514bb18b1aa33da390ab6667788796deca | |
parent | 5659e339473d87e424566e019487433269073338 [diff] |
misc: imx: scu: avoid write null pointer When boot_dev is true, fill boot device. However the original logic is when boot_dev is false, fill boot device, this will trigger data abort. Also fix sc_misc_get_control when using pointer val. Signed-off-by: Peng Fan <peng.fan@nxp.com>