]> git.sur5r.net Git - u-boot/commit
imx: mxs: reimplement get_cpu_rev
authorPeng Fan <Peng.Fan@freescale.com>
Thu, 13 Aug 2015 02:55:33 +0000 (10:55 +0800)
committerStefano Babic <sbabic@denx.de>
Wed, 2 Sep 2015 13:29:14 +0000 (15:29 +0200)
commitbf3b9cb6e8088955c4271f1af03596cc2df26cd8
tree5f5f2599d31c3171e559f4f8bb859425ecde0339
parent2af896abf60ed93c57d72d62635daef8ca6124c2
imx: mxs: reimplement get_cpu_rev

Rewrite get_cpu_rev, from "static const char *get_cpu_rev(void)" to
"u32 get_cpu_rev(void)". To align with get_cpu_rev of other i.MXes.

Also write get_imx_type to replace get_cpu_type, since we have
macro named get_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/mxs/mxs.c
arch/arm/include/asm/arch-mxs/sys_proto.h