imx: mx27 implement get_cpu_rev
authorPeng Fan <Peng.Fan@freescale.com>
Thu, 13 Aug 2015 02:55:31 +0000 (10:55 +0800)
committerStefano Babic <sbabic@denx.de>
Wed, 2 Sep 2015 13:29:14 +0000 (15:29 +0200)
commit49ea15d55fcbb3ee26a23cbfbda314bc17467ad8
tree34dc9a7235492062b541b9201024d1587660132d
parentc398e7503db15b7bddf543e54e14bc8e2765670d
imx: mx27 implement get_cpu_rev

Implement get_cpu_rev to support runtime check using is_cpu_type.

Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
Cc: Stefano Babic <sbabic@denx.de>
Reviewed-by: Stefano Babic <sbabic@denx.de>
arch/arm/cpu/arm926ejs/mx27/generic.c