diff options
author | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-09-27 10:18:14 +0000 |
---|---|---|
committer | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-09-27 10:18:14 +0000 |
commit | 4110f0d3790c7d98fab4ca1b49f84e973df88d1b (patch) | |
tree | 7ff10a65c46f54b033644b5b380a4d241dd311ab /target/linux/ramips/files/arch/mips/include/asm | |
parent | ea2de79f8601d712b957acde3b021fdfb291e905 (diff) |
ramips: allow to use custom code for memory size detection
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33570 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/files/arch/mips/include/asm')
-rw-r--r-- | target/linux/ramips/files/arch/mips/include/asm/mach-ralink/common.h | 1 |
1 files changed, 1 insertions, 0 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 111dd0640..bb6e12bf8 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 @@ -14,6 +14,7 @@ extern unsigned char ramips_sys_type[RAMIPS_SYS_TYPE_LEN]; extern unsigned long ramips_mem_base; extern unsigned long ramips_mem_size_min; extern unsigned long ramips_mem_size_max; +extern unsigned long (*ramips_get_mem_size)(void); void ramips_intc_irq_init(unsigned intc_base, unsigned irq, unsigned irq_base); u32 ramips_intc_get_status(void); |