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
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
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
3 matches
Mail list logo