diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-09-27 10:18:14 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2012-09-27 10:18:14 +0000 |
commit | 80d2da9f0ffcc665ac7a383b571bc07574dd3aff (patch) | |
tree | a02dc02e5be1d4470336f733b6dc8e4d956427e1 /target/linux/ramips/files/arch/mips/include | |
parent | 4ea68a13e3195576ae87589b12f3a3639358fb5f (diff) | |
download | upstream-80d2da9f0ffcc665ac7a383b571bc07574dd3aff.tar.gz upstream-80d2da9f0ffcc665ac7a383b571bc07574dd3aff.tar.bz2 upstream-80d2da9f0ffcc665ac7a383b571bc07574dd3aff.zip |
ramips: allow to use custom code for memory size detection
SVN-Revision: 33570
Diffstat (limited to 'target/linux/ramips/files/arch/mips/include')
-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 111dd06407..bb6e12bf86 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); |