commit | bf3b9cb6e8088955c4271f1af03596cc2df26cd8 | [log] [tgz] |
---|---|---|
author | Peng Fan <Peng.Fan@freescale.com> | Thu Aug 13 10:55:33 2015 +0800 |
committer | Stefano Babic <sbabic@denx.de> | Wed Sep 02 15:29:14 2015 +0200 |
tree | 5f5f2599d31c3171e559f4f8bb859425ecde0339 | |
parent | 2af896abf60ed93c57d72d62635daef8ca6124c2 [diff] |
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>