From 5c8b034f21ddc0c8c362814f832be16b752f106a Mon Sep 17 00:00:00 2001 From: David Hendricks Date: Tue, 30 Sep 2014 15:24:21 -0700 Subject: 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 Original-Commit-Id: 4ff2629fdf3c69c203fa61ec894bb4895990cb5e Original-Change-Id: Ie406fb1f518af5d1fd1e623630b2bcbbef35622c Original-Signed-off-by: David Hendricks Original-Reviewed-on: https://chromium-review.googlesource.com/220612 Original-Reviewed-by: Julius Werner Reviewed-on: http://review.coreboot.org/9051 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Stefan Reinauer --- src/soc/rockchip/rk3288/timer.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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 #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; -- cgit v1.2.3