mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
[ramips] share machine registration code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17456 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
/*
|
||||
* Ralink machine types
|
||||
*
|
||||
* Copyright (C) 2009 Gabor Juhos <juhosg@openwrt.org>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License version 2 as published
|
||||
* by the Free Software Foundation.
|
||||
*/
|
||||
|
||||
enum ramips_mach_type {
|
||||
RAMIPS_MACH_GENERIC,
|
||||
RAMIPS_MACH_WHR_G300N, /* Buffalo WHR-G300N */
|
||||
};
|
||||
|
||||
extern enum ramips_mach_type ramips_mach;
|
||||
@@ -23,9 +23,6 @@ void rt288x_detect_sys_freq(void) __init;
|
||||
extern unsigned long rt288x_cpu_freq;
|
||||
extern unsigned long rt288x_sys_freq;
|
||||
|
||||
extern unsigned long rt288x_mach_type;
|
||||
#define RT288X_MACH_GENERIC 0
|
||||
|
||||
#define RT288X_CPU_IRQ_BASE 0
|
||||
#define RT288X_INTC_IRQ_BASE 8
|
||||
#define RT288X_INTC_IRQ_COUNT 32
|
||||
|
||||
Reference in New Issue
Block a user