commit | b3df4dae28f176b30d23136d5f1f884cc6bdba3d | [log] [tgz] |
---|---|---|
author | Peng Fan <Peng.Fan@freescale.com> | Thu Jun 11 18:30:35 2015 +0800 |
committer | Stefano Babic <sbabic@denx.de> | Sat Jun 27 18:16:31 2015 +0200 |
tree | 4523466f03b4e41df6d061a6f4febc2380f650af | |
parent | f0751bb56a8bb32e6392614908f021001dd2566d [diff] |
imx: mx6 correct is_soc_rev usage is_soc_rev should return a bool value, so use "==", but not "-", change (is_soc_rev(CHIP_REV_1_0) > 0) to (soc_rev() > CHIP_REV_1_0). This patch also add space between "&" for cpu_type(rev) macro. Signed-off-by: Peng Fan <Peng.Fan@freescale.com>