1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

ramips: implement clock API for RT288x

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25125 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
juhosg
2011-01-26 20:48:39 +00:00
parent 86f7e2834f
commit e388e46ebb
7 changed files with 152 additions and 45 deletions

View File

@@ -1,7 +1,7 @@
/*
* Ralink RT288x SoC specific definitions
*
* Copyright (C) 2008-2009 Gabor Juhos <juhosg@openwrt.org>
* Copyright (C) 2008-2011 Gabor Juhos <juhosg@openwrt.org>
* Copyright (C) 2008 Imre Kaloz <kaloz@openwrt.org>
*
* Parts of this file are based on Ralink's 2.6.21 BSP
@@ -18,10 +18,6 @@
#include <linux/io.h>
void rt288x_detect_sys_type(void);
void rt288x_detect_sys_freq(void);
extern unsigned long rt288x_cpu_freq;
extern unsigned long rt288x_sys_freq;
#define RT288X_CPU_IRQ_BASE 0
#define RT288X_INTC_IRQ_BASE 8