[U-Boot] [PATCH] gic: fixed compilation error in GICv2 wait for interrupt macro

Albert ARIBAUD albert.u.boot at aribaud.net
Tue Oct 28 07:58:24 CET 2014


Hello Yehuda,

On Mon, 27 Oct 2014 14:07:16 +0200, Yehuda Yitschak
<yehuday at marvell.com> wrote:
> 	a hexadicemal value was missing the "0x" prefix which caused
> 	assembler error
> 
> Signed-off-by: Yehuda Yitschak <yehuday at marvell.com>
> ---
>  arch/arm/include/asm/macro.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm/include/asm/macro.h b/arch/arm/include/asm/macro.h
> index 541b443..1c8c425 100644
> --- a/arch/arm/include/asm/macro.h
> +++ b/arch/arm/include/asm/macro.h
> @@ -193,7 +193,7 @@ lr	.req	x30
>  0 :	wfi
>  	ldr     \wreg2, [\xreg1, GICC_AIAR]
>  	str     \wreg2, [\xreg1, GICC_AEOIR]
> -	and	\wreg2, \wreg2, #3ff
> +	and	\wreg2, \wreg2, #0x3ff
>  	cbnz    \wreg2, 0b
>  .endm
>  #endif
> -- 
> 1.8.1.2

Applied to u-boot-arm/master (as a preventive bug fix), thanks!

Amicalement,
-- 
Albert.


More information about the U-Boot mailing list