commit | ecab65e4cdec0ee408ca1ac9d0b06d2793fdae91 | [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 | 224f745247045262f9c4ca9e379be1002204e4ea [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>