imx: mx6 correct is_soc_rev usage
authorPeng Fan <Peng.Fan@freescale.com>
Thu, 11 Jun 2015 10:30:35 +0000 (18:30 +0800)
committerStefano Babic <sbabic@denx.de>
Sat, 27 Jun 2015 16:16:31 +0000 (18:16 +0200)
commitb65d9d868efcae5bf40377deafc60a968f78e55c
tree4523466f03b4e41df6d061a6f4febc2380f650af
parentfc6e442568b645fc8132f7bc41623370953d4661
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>
arch/arm/imx-common/timer.c
arch/arm/include/asm/arch-mx6/sys_proto.h