mx5: fix get_reset_cause
authorStefano Babic <sbabic@denx.de>
Mon, 2 Mar 2015 09:12:13 +0000 (10:12 +0100)
committerStefano Babic <sbabic@denx.de>
Thu, 5 Mar 2015 09:29:27 +0000 (10:29 +0100)
commit32df39c741788e8637cffe6633d73594b26d70fb
treeab0fe4181871aacdebe88ea7c28622b6d41f18ef
parentb16c37e46c1993b7d789aa7a1840250369d6944c
mx5: fix get_reset_cause

commit d9f43c8f5c1d7ed27c99a06be85a4bb64b2c73fb sets
get_reset_cause() as static, but this conflicts with mx5
where its prototype is in sys_proto.h.

Drop it from sys_proto.h and drop print_cpuinfo from mx53_loco,
factorizing the call for this board.

Signed-off-by: Stefano Babic <sbabic@denx.de>
CC: Jason Liu <jason.hui@linaro.org>
arch/arm/include/asm/arch-mx5/sys_proto.h
board/freescale/mx53loco/mx53loco.c
include/configs/mx53loco.h