mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
ramips: introduce ramips_soc_prom_init and move SoC detection into that
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30887 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -15,6 +15,7 @@ extern unsigned char ramips_sys_type[RAMIPS_SYS_TYPE_LEN];
|
||||
void ramips_intc_irq_init(unsigned intc_base, unsigned irq, unsigned irq_base);
|
||||
u32 ramips_intc_get_status(void);
|
||||
|
||||
void ramips_soc_prom_init(void);
|
||||
void ramips_soc_setup(void);
|
||||
void ramips_early_serial_setup(int line, unsigned base, unsigned freq,
|
||||
unsigned irq);
|
||||
|
||||
@@ -17,8 +17,6 @@
|
||||
#include <linux/init.h>
|
||||
#include <linux/io.h>
|
||||
|
||||
void rt288x_detect_sys_type(void);
|
||||
|
||||
#define RT288X_CPU_IRQ_BASE 0
|
||||
#define RT288X_INTC_IRQ_BASE 8
|
||||
#define RT288X_INTC_IRQ_COUNT 32
|
||||
|
||||
@@ -16,8 +16,6 @@
|
||||
#include <linux/init.h>
|
||||
#include <linux/io.h>
|
||||
|
||||
void rt305x_detect_sys_type(void);
|
||||
|
||||
#define RT305X_MEM_SIZE_MIN (2 * 1024 * 1024)
|
||||
#define RT305X_MEM_SIZE_MAX (64 * 1024 * 1024)
|
||||
|
||||
|
||||
@@ -16,8 +16,6 @@
|
||||
#include <linux/init.h>
|
||||
#include <linux/io.h>
|
||||
|
||||
void rt3883_detect_sys_type(void);
|
||||
|
||||
#define RT3883_MEM_SIZE_MIN (2 * 1024 * 1024)
|
||||
#define RT3883_MEM_SIZE_MAX (256 * 1024 * 1024)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user