summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYehuda Yitschak <yehuday@marvell.com>2014-10-27 14:07:16 +0200
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2014-10-28 07:57:31 +0100
commit59a9cfdd16ad7ab14f22697bf1e049c6bea0d3e2 (patch)
tree87b68da8668be891789a7c5b868cb40a6cc1b913
parentb81fa615df129f29d343abb382392ca4ef17bdc6 (diff)
downloadu-boot-imx-59a9cfdd16ad7ab14f22697bf1e049c6bea0d3e2.zip
u-boot-imx-59a9cfdd16ad7ab14f22697bf1e049c6bea0d3e2.tar.gz
u-boot-imx-59a9cfdd16ad7ab14f22697bf1e049c6bea0d3e2.tar.bz2
gic: fixed compilation error in GICv2 wait for interrupt macro
a hexadicemal value was missing the "0x" prefix which caused assembler error Signed-off-by: Yehuda Yitschak <yehuday@marvell.com>
-rw-r--r--arch/arm/include/asm/macro.h2
1 files changed, 1 insertions, 1 deletions
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