[U-Boot] [PATCH] mx31: add "ARM11P power gating" to get_reset_cause
Stefano Babic
sbabic at denx.de
Wed Mar 7 11:16:13 CET 2012
On 16/02/2012 09:44, Helmut Raiger wrote:
> Add missing reset reason 7 to get_reset_cause().
>
> Signed-off-by: Helmut Raiger <helmut.raiger at hale.at>
> ---
> arch/arm/cpu/arm1136/mx31/generic.c | 2 ++
> 1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/arch/arm/cpu/arm1136/mx31/generic.c b/arch/arm/cpu/arm1136/mx31/generic.c
> index d60afc9..8873fb7 100644
> --- a/arch/arm/cpu/arm1136/mx31/generic.c
> +++ b/arch/arm/cpu/arm1136/mx31/generic.c
> @@ -210,6 +210,8 @@ static char *get_reset_cause(void)
> return "WDOG";
> case 0x0006:
> return "JTAG";
> + case 0x0007:
> + return "ARM11P power gating";
> default:
> return "unknown reset";
> }
Applied to u-boot-imx, thanks.
Best regards,
Stefano Babic
--
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================
More information about the U-Boot
mailing list