Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2321f246 authored by Shawn Guo's avatar Shawn Guo
Browse files

ARM: imx: remove platform headers from timer driver



With the cleanup done before, the platform specific headers now can be
removed.

Signed-off-by: default avatarShawn Guo <shawn.guo@linaro.org>
parent db2ae4b4
Loading
Loading
Loading
Loading
+0 −6
Original line number Original line Diff line number Diff line
@@ -36,9 +36,6 @@


#include <asm/mach/time.h>
#include <asm/mach/time.h>


#include "common.h"
#include "hardware.h"

/*
/*
 * There are 4 versions of the timer hardware on Freescale MXC hardware.
 * There are 4 versions of the timer hardware on Freescale MXC hardware.
 *  - MX1/MXL
 *  - MX1/MXL
@@ -80,9 +77,6 @@


#define V2_TIMER_RATE_OSC_DIV8	3000000
#define V2_TIMER_RATE_OSC_DIV8	3000000


#define timer_is_v1()	(cpu_is_mx1() || cpu_is_mx21() || cpu_is_mx27())
#define timer_is_v2()	(!timer_is_v1())

struct imx_timer {
struct imx_timer {
	enum imx_gpt_type type;
	enum imx_gpt_type type;
	void __iomem *base;
	void __iomem *base;