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: 4ff2629fdf
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>
This commit is contained in:
parent
580bcffbf6
commit
5c8b034f21
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue