MX31: change return value of get_cpu_rev
authorStefano Babic <sbabic@denx.de>
Fri, 29 Apr 2011 06:56:27 +0000 (08:56 +0200)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Wed, 11 May 2011 21:03:15 +0000 (23:03 +0200)
commit2f22045be5590e3034b0d55cac9fd050f7837a17
tree0d5c70f0edcbab4d508c6c7a275b3f7bf4ad5e2e
parentd109b11e54739212632e3f5309c62a7d5cd49773
MX31: change return value of get_cpu_rev

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 <sbabic@denx.de>
CC: Detlev Zundel <dzu@denx.de>
CC: Fabio Estevam <fabio.estevam@freescale.com>
arch/arm/cpu/arm1136/mx31/generic.c
arch/arm/include/asm/arch-mx31/imx-regs.h