[U-Boot] [PATCH v2 1/8] imx: mx6 correct is_soc_rev usage

Stefano Babic sbabic at denx.de
Sat Jun 27 18:17:38 CEST 2015


Hi Peng,

On 11/06/2015 12:30, Peng Fan wrote:
> 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 at freescale.com>
> ---
> 

Applied to u-boot-imx, thanks !

Best regards,
Stefano Babic


-- 
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================


More information about the U-Boot mailing list