[U-Boot] [PATCH] PXA: FIX: Deep-sleep return address in stored in PSPR

Marek Vasut marek.vasut at gmail.com
Wed Sep 7 15:26:43 CEST 2011


On Wednesday, September 07, 2011 03:25:45 PM Marek Vasut wrote:
> FIX for a typo-bug: The address is stored in PSPR, not PSSR.
> 
> Signed-off-by: Marek Vasut <marek.vasut at gmail.com>
> ---
>  arch/arm/cpu/pxa/cpu.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 

Albert, this is actually a resend of a very old patch. I dunno why it didn't get 
into mainline, but it really SHOULD be picked up.

Also, can you please just merge it without pull rq?

Thanks!

> diff --git a/arch/arm/cpu/pxa/cpu.c b/arch/arm/cpu/pxa/cpu.c
> index 7d49cbb..3bc0525 100644
> --- a/arch/arm/cpu/pxa/cpu.c
> +++ b/arch/arm/cpu/pxa/cpu.c
> @@ -305,7 +305,7 @@ void pxa_wakeup(void)
>  		pxa_dram_init();
>  		icache_disable();
>  		dcache_disable();
> -		asm volatile("mov	pc, %0"::"r"(readl(PSSR)));
> +		asm volatile("mov	pc, %0"::"r"(readl(PSPR)));
>  	}
>  }


More information about the U-Boot mailing list