aboutsummaryrefslogtreecommitdiff
path: root/src/soc/qualcomm/ipq806x/include/iomap.h
diff options
context:
space:
mode:
authorVadim Bendebury <vbendeb@chromium.org>2014-04-09 19:23:54 -0700
committerMarc Jones <marc.jones@se-eng.com>2014-12-05 20:22:55 +0100
commitdb3e2f0931a52bee6e59d09df572fd0bfb481ff9 (patch)
tree0742e81b5cd1675372b5b6897e9cc9fef7902a34 /src/soc/qualcomm/ipq806x/include/iomap.h
parent63956e63ce6e9035aaf0a7f0363d064acb083816 (diff)
ipq8064: Make clock code build in coreboot
Include clock.c in the appropriate coreboot stages, modify the code to build cleanly. Use proper pointer cast in .h files. BUG=chrome-os-partner:27784 TEST='emerge-storm coreboot' still succeeds Original-Change-Id: I227c871b17e571f6a1db3ada3821dbb1ee884e59 Original-Signed-off-by: Vadim Bendebury <vbendeb@chromium.org> Original-Reviewed-on: https://chromium-review.googlesource.com/196407 (cherry picked from commit 75decceccd97298974891bb98b796eccfe11f46c) Signed-off-by: Marc Jones <marc.jones@se-eng.com> Change-Id: I7d44464d4ca8153e84407fc05a25e2e79e74901e Reviewed-on: http://review.coreboot.org/7271 Tested-by: build bot (Jenkins) Reviewed-by: David Hendricks <dhendrix@chromium.org>
Diffstat (limited to 'src/soc/qualcomm/ipq806x/include/iomap.h')
-rw-r--r--src/soc/qualcomm/ipq806x/include/iomap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/qualcomm/ipq806x/include/iomap.h b/src/soc/qualcomm/ipq806x/include/iomap.h
index 8642410616..8a4155ce6b 100644
--- a/src/soc/qualcomm/ipq806x/include/iomap.h
+++ b/src/soc/qualcomm/ipq806x/include/iomap.h
@@ -52,7 +52,7 @@
#define MSM_GPT_BASE (MSM_TMR_BASE + 0x04)
#define MSM_DGT_BASE (MSM_TMR_BASE + 0x24)
-#define GPT_REG(off) (((uint8_t *)(MSM_GPT_BASE)) + (off))
+#define GPT_REG(off) ((void *)(MSM_GPT_BASE + (off)))
#define DGT_REG(off) (MSM_DGT_BASE + (off))
#define APCS_WDT0_EN (MSM_TMR_BASE + 0x0040)