summaryrefslogtreecommitdiff
path: root/src/drivers/gic/gic.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/gic/gic.c')
-rw-r--r--src/drivers/gic/gic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/gic/gic.c b/src/drivers/gic/gic.c
index 228ca124ec..8972d04617 100644
--- a/src/drivers/gic/gic.c
+++ b/src/drivers/gic/gic.c
@@ -61,7 +61,7 @@ static struct gic *gic_get(void)
static inline void gic_write(uint32_t *base, uint32_t val)
{
- writel(val, base);
+ write32(base, val);
}
static void gic_write_regs(uint32_t *base, size_t num_regs, uint32_t val)