1
0
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:
juhosg
2012-03-11 19:05:53 +00:00
parent 86b5f9e15f
commit 9fb8ca891c
11 changed files with 18 additions and 21 deletions

View File

@@ -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);

View File

@@ -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

View File

@@ -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)

View File

@@ -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)