[U-Boot] [PATCH] MX31: change return value of get_cpu_rev

2011-04-29 Thread Stefano Babic
Drop warnings in get_cpu_rev and changes the return value (a u32 instead of char * is returned) of the function to be coherent with other processors. Signed-off-by: Stefano Babic sba...@denx.de CC: Detlev Zundev d...@denx.de CC: Fabio Estevam fabio.este...@freescale.com --- This is a follow-up

Re: [U-Boot] [PATCH] MX31: change return value of get_cpu_rev

2011-04-29 Thread Stefano Babic
On 04/29/2011 01:36 PM, Detlev Zundel wrote: Hi Stefano, Drop warnings in get_cpu_rev and changes the return value (a u32 instead of char * is returned) of the function to be coherent with other processors. Signed-off-by: Stefano Babic sba...@denx.de CC: Detlev Zundev d...@denx.de Can

Re: [U-Boot] [PATCH] MX31: change return value of get_cpu_rev

2011-04-29 Thread Detlev Zundel
Hi Stefano, [...] @@ -129,7 +129,7 @@ char *get_cpu_rev(void) for (i = 0; i ARRAY_SIZE(mx31_cpu_type); i++) if (srev == mx31_cpu_type[i].srev) return mx31_cpu_type[i].v; - return unknown; + return srev; Hm, so we drop the unknown case and