diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2009-08-31 18:53:22 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2009-08-31 18:53:22 +0000 |
commit | 3cc0bc90387d7cea119bee68a6f9c08295267c8c (patch) | |
tree | f0738e624357438428bf2588ba5e391d571196ed /target/linux/ramips/files/arch/mips/ralink/rt305x | |
parent | 4dd57199a20c89be6db6d6dbd5ceb74c2d713efa (diff) | |
download | master-31e0f0ae-3cc0bc90387d7cea119bee68a6f9c08295267c8c.tar.gz master-31e0f0ae-3cc0bc90387d7cea119bee68a6f9c08295267c8c.tar.bz2 master-31e0f0ae-3cc0bc90387d7cea119bee68a6f9c08295267c8c.zip |
add common setup code
SVN-Revision: 17453
Diffstat (limited to 'target/linux/ramips/files/arch/mips/ralink/rt305x')
-rw-r--r-- | target/linux/ramips/files/arch/mips/ralink/rt305x/setup.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/target/linux/ramips/files/arch/mips/ralink/rt305x/setup.c b/target/linux/ramips/files/arch/mips/ralink/rt305x/setup.c index d574ef650e..70eaae4254 100644 --- a/target/linux/ramips/files/arch/mips/ralink/rt305x/setup.c +++ b/target/linux/ramips/files/arch/mips/ralink/rt305x/setup.c @@ -20,6 +20,7 @@ #include <asm/reboot.h> #include <asm/time.h> +#include <asm/mach-ralink/common.h> #include <asm/mach-ralink/rt305x.h> #include <asm/mach-ralink/rt305x_regs.h> @@ -99,10 +100,8 @@ unsigned int __cpuinit get_c0_compare_irq(void) return CP0_LEGACY_COMPARE_IRQ; } -void __init plat_mem_setup(void) +void __init ramips_soc_setup(void) { - set_io_port_base(KSEG1); - rt305x_sysc_base = ioremap_nocache(RT305X_SYSC_BASE, PAGE_SIZE); rt305x_memc_base = ioremap_nocache(RT305X_MEMC_BASE, PAGE_SIZE); |