diff options
author | David Hendricks <dhendrix@chromium.org> | 2014-09-30 15:24:21 -0700 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2015-03-27 08:06:50 +0100 |
commit | 5c8b034f21ddc0c8c362814f832be16b752f106a (patch) | |
tree | 9d21d04bcabf12a709a810aba994e33521029054 /src | |
parent | 580bcffbf6943ab951c01520cf7e2f8a7753c6c5 (diff) | |
download | coreboot-5c8b034f21ddc0c8c362814f832be16b752f106a.tar.xz |
rk3288: Add missing #include and use uniform types
This updates timer.h to #include the header necessary for u32,
and to change the one instance of uint32_t to u32 to be uniform.
BUG=none
BRANCH=none
TEST=compiled
Change-Id: I4d67045206fd94985774b8d46a307bbb2e337f30
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: 4ff2629fdf3c69c203fa61ec894bb4895990cb5e
Original-Change-Id: Ie406fb1f518af5d1fd1e623630b2bcbbef35622c
Original-Signed-off-by: David Hendricks <dhendrix@chromium.org>
Original-Reviewed-on: https://chromium-review.googlesource.com/220612
Original-Reviewed-by: Julius Werner <jwerner@chromium.org>
Reviewed-on: http://review.coreboot.org/9051
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/soc/rockchip/rk3288/timer.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/soc/rockchip/rk3288/timer.h b/src/soc/rockchip/rk3288/timer.h index 98b4626597..1820f56da4 100644 --- a/src/soc/rockchip/rk3288/timer.h +++ b/src/soc/rockchip/rk3288/timer.h @@ -20,10 +20,11 @@ #ifndef __SOC_ROCKCHIP_RK3288_TIMER_H__ #define __SOC_ROCKCHIP_RK3288_TIMER_H__ +#include <inttypes.h> #include "addressmap.h" #define SYS_CLK_FREQ 24000000 -static const uint32_t clocks_per_usec = SYS_CLK_FREQ/1000000; +static const u32 clocks_per_usec = SYS_CLK_FREQ/1000000; struct rk3288_timer { u32 timer_load_count0; |