From de071d14f78fc086180e69333194467bd32787ed Mon Sep 17 00:00:00 2001 From: juhosg Date: Wed, 12 Sep 2012 19:03:12 +0000 Subject: ramips/rt305x: add initial support for Rt5350 SoC Somehow detecting the RAM size in common/setup.c doesn't work here, it always detects 64M and then crashes on devices with less RAM. Probably using MEMC_REG_SDRAM_CFG1 to know the RAM size is how it could be, for now I use the mem=32M kernel parameter to get stuff working. Signed-off-by: Daniel Golle git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33381 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/ramips/files/arch/mips/ralink/rt305x/devices.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target/linux/ramips/files/arch/mips/ralink/rt305x/devices.c') diff --git a/target/linux/ramips/files/arch/mips/ralink/rt305x/devices.c b/target/linux/ramips/files/arch/mips/ralink/rt305x/devices.c index 07e950ad9..92ae56d3b 100644 --- a/target/linux/ramips/files/arch/mips/ralink/rt305x/devices.c +++ b/target/linux/ramips/files/arch/mips/ralink/rt305x/devices.c @@ -404,7 +404,7 @@ void __init rt305x_register_usb(void) { if (soc_is_rt305x() || soc_is_rt3350()) { platform_device_register(&rt305x_dwc_otg_device); - } else if (soc_is_rt3352()) { + } else if (soc_is_rt3352() || soc_is_rt5350()) { platform_device_register(&rt3352_ehci_device); platform_device_register(&rt3352_ohci_device); } else { -- cgit v1.2.3