diff options
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 d574ef650..70eaae425 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); |