summaryrefslogtreecommitdiff
path: root/target/linux/ramips/files/arch/mips/ralink/rt288x
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-08-31 18:53:22 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-08-31 18:53:22 +0000
commitab0a79714f445ae17d1ad601ff0628e75f31a430 (patch)
tree9a50ac0f6309cfa6073e363133cf5c6d855341ab /target/linux/ramips/files/arch/mips/ralink/rt288x
parent88c82cdc9cdd90afa71d4c98a265fd6f5a75f7b2 (diff)
[ramips] add common setup code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17453 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/files/arch/mips/ralink/rt288x')
-rw-r--r--target/linux/ramips/files/arch/mips/ralink/rt288x/setup.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/target/linux/ramips/files/arch/mips/ralink/rt288x/setup.c b/target/linux/ramips/files/arch/mips/ralink/rt288x/setup.c
index d0258524cc..fe94126e5d 100644
--- a/target/linux/ramips/files/arch/mips/ralink/rt288x/setup.c
+++ b/target/linux/ramips/files/arch/mips/ralink/rt288x/setup.c
@@ -21,6 +21,7 @@
#include <asm/reboot.h>
#include <asm/time.h>
+#include <asm/mach-ralink/common.h>
#include <asm/mach-ralink/rt288x.h>
#include <asm/mach-ralink/rt288x_regs.h>
@@ -100,10 +101,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);
-
rt288x_sysc_base = ioremap_nocache(RT2880_SYSC_BASE, RT2880_SYSC_SIZE);
rt288x_memc_base = ioremap_nocache(RT2880_MEMC_BASE, RT2880_MEMC_SIZE);