summaryrefslogtreecommitdiff
path: root/src/cpu/samsung/exynos5-common/cpu_info.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/samsung/exynos5-common/cpu_info.c')
-rw-r--r--src/cpu/samsung/exynos5-common/cpu_info.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpu/samsung/exynos5-common/cpu_info.c b/src/cpu/samsung/exynos5-common/cpu_info.c
index dec3c779aa..6b75473656 100644
--- a/src/cpu/samsung/exynos5-common/cpu_info.c
+++ b/src/cpu/samsung/exynos5-common/cpu_info.c
@@ -65,7 +65,7 @@ int s5p_get_cpu_rev(void)
void s5p_set_cpu_id(void)
{
- s5p_cpu_id = readl(EXYNOS_PRO_ID);
+ s5p_cpu_id = readl((void *)EXYNOS_PRO_ID);
s5p_cpu_id = (0xC000 | ((s5p_cpu_id & 0x00FFF000) >> 12));
/*