MX31: Make get_reset_cause() static and drop unreachable code
authorStefano Babic <sbabic@denx.de>
Tue, 17 May 2011 11:45:41 +0000 (13:45 +0200)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Mon, 23 May 2011 06:36:46 +0000 (08:36 +0200)
commitd43458d23783eabcc770d1012f5656c6241ec0f8
tree7afe765bbb67a2707ac2c2e02b1e685fddf4b1fc
parentb302b151935fbe65ae46faa5261db98c35dc15fb
MX31: Make get_reset_cause() static and drop unreachable code

get_reset_cause() should not be exported. Drop code in the function
after return statement that can generate warnings due to unreachable code.

Signed-off-by: Stefano Babic <sbabic@denx.de>
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
arch/arm/cpu/arm1136/mx31/generic.c