Skip to content
Snippets Groups Projects
Commit b65d9d86 authored by Peng Fan's avatar Peng Fan Committed by Stefano Babic
Browse files

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: default avatarPeng Fan <Peng.Fan@freescale.com>
parent fc6e4425
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment