summaryrefslogtreecommitdiff
path: root/src/soc/samsung/exynos5420/fimd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/samsung/exynos5420/fimd.c')
-rw-r--r--src/soc/samsung/exynos5420/fimd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/samsung/exynos5420/fimd.c b/src/soc/samsung/exynos5420/fimd.c
index dfd123254c..8059f49f1a 100644
--- a/src/soc/samsung/exynos5420/fimd.c
+++ b/src/soc/samsung/exynos5420/fimd.c
@@ -47,8 +47,8 @@ static inline unsigned long fradl(void *v) {
#define lreadl(a) fradl((void *)(a))
#else
-#define lwritel(a,b) writel((unsigned long)(a), (void *)(b))
-#define lreadl(a) readl((void *)(a))
+#define lwritel(a,b) write32((void *)(b), (unsigned long)(a))
+#define lreadl(a) read32((void *)(a))
#endif
/* not sure where we want this so ... */