Re: [U-Boot] [PATCH V2 4/5] imx: mxs: reimplement get_cpu_rev

2015-08-23 Thread Stefano Babic
On 13/08/2015 04:55, Peng Fan wrote: > 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 F

[U-Boot] [PATCH V2 4/5] imx: mxs: reimplement get_cpu_rev

2015-08-12 Thread Peng Fan
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 Cc: Stefano Babic Reviewed-by: Stefano Babic