summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
authorPatrick Georgi <pgeorgi@chromium.org>2015-04-07 12:24:17 +0200
committerPatrick Georgi <pgeorgi@google.com>2015-04-07 18:47:39 +0200
commit0c00f9a58f69e81a059f20ac0834dc46411e5def (patch)
tree9b1eb567d062442ef066be52c66c00e4fe64e747 /src/arch
parent4ee4bd5bb000b5c78e3d4a3f0113fe1e46e44851 (diff)
downloadcoreboot-0c00f9a58f69e81a059f20ac0834dc46411e5def.tar.xz
arm: Include types.h in clock.h
... so uint32_t is known by the time it's used. Change-Id: I7281e869ce2e00165a0e21bc017aa6c0e27827b9 Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Reviewed-on: http://review.coreboot.org/9333 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@google.com>
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/arm/include/arch/clock.h2
-rw-r--r--src/arch/arm64/include/arch/clock.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/arch/arm/include/arch/clock.h b/src/arch/arm/include/arch/clock.h
index a11fbd4999..939aa208ce 100644
--- a/src/arch/arm/include/arch/clock.h
+++ b/src/arch/arm/include/arch/clock.h
@@ -20,6 +20,8 @@
#ifndef __ARM_CLOCK_H_
#define __ARM_CLOCK_H_
+#include <types.h>
+
void set_cntfrq(uint32_t);
#endif //__ARM_CLOCK_H_
diff --git a/src/arch/arm64/include/arch/clock.h b/src/arch/arm64/include/arch/clock.h
index a11fbd4999..939aa208ce 100644
--- a/src/arch/arm64/include/arch/clock.h
+++ b/src/arch/arm64/include/arch/clock.h
@@ -20,6 +20,8 @@
#ifndef __ARM_CLOCK_H_
#define __ARM_CLOCK_H_
+#include <types.h>
+
void set_cntfrq(uint32_t);
#endif //__ARM_CLOCK_H_