diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-03-11 19:05:53 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2012-03-11 19:05:53 +0000 |
commit | 8cff770eb35ddb48e62cf95e83c8f1777c8db56a (patch) | |
tree | ecc826a5693467641fe73c9eac6c6d6551ddb874 /target/linux/ramips/files/arch/mips/include/asm | |
parent | 2149facb537a6f4a58dd773004d47ea2712544ac (diff) | |
download | mtk-20170518-8cff770eb35ddb48e62cf95e83c8f1777c8db56a.zip mtk-20170518-8cff770eb35ddb48e62cf95e83c8f1777c8db56a.tar.gz mtk-20170518-8cff770eb35ddb48e62cf95e83c8f1777c8db56a.tar.bz2 |
ramips: introduce ramips_soc_prom_init and move SoC detection into that
SVN-Revision: 30887
Diffstat (limited to 'target/linux/ramips/files/arch/mips/include/asm')
4 files changed, 1 insertions, 6 deletions
diff --git a/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/common.h b/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/common.h index 939062b..7be24f7 100644 --- a/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/common.h +++ b/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/common.h @@ -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); diff --git a/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/rt288x.h b/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/rt288x.h index 29c7a72..ff6c82e 100644 --- a/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/rt288x.h +++ b/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/rt288x.h @@ -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 diff --git a/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/rt305x.h b/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/rt305x.h index d1a4df9..2e3f9fc 100644 --- a/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/rt305x.h +++ b/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/rt305x.h @@ -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) diff --git a/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/rt3883.h b/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/rt3883.h index 2a88bb8..cf8fb6f 100644 --- a/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/rt3883.h +++ b/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/rt3883.h @@ -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) |