imx: Use IMX6_BMODE_* macros instead of numericals
authorJagan Teki <jagan@openedev.com>
Fri, 24 Feb 2017 10:15:14 +0000 (15:45 +0530)
committerStefano Babic <sbabic@denx.de>
Fri, 17 Mar 2017 08:27:08 +0000 (09:27 +0100)
commit96aac843b68dfa900ede4eec224b2f7060812b45
tree8d8c57ef2595b52a45a4518cc0dc9c2596e0f921
parent20f147141698b9f302c3382fcc45a1ef1a341cec
imx: Use IMX6_BMODE_* macros instead of numericals

Use meaningful macros IMX6_BMODE_*, instead of numerical
number in boot mode detection code.

Cc: Tim Harvey <tharvey@gateworks.com>
Acked-by: Stefano Babic <sbabic@denx.de>
Signed-off-by: Jagan Teki <jagan@openedev.com>
arch/arm/imx-common/spl.c
arch/arm/include/asm/imx-common/sys_proto.h