* adds support for speedport w502V
[openwrt/openwrt.git] / target / linux / ifxmips / files-2.6.33 / arch / mips / ifxmips / common / setup.c
index 41e6415e8eed5fc3763f97f025661a9cf038212e..01d3249772ce9313364879bb0492b766d89889a3 100644 (file)
@@ -78,8 +78,11 @@ ifxmips_get_cpu_hz(void)
                return CLOCK_333M;
        case 4:
                return DDR_HZ;
+       case 8:
+               return DDR_HZ << 1;
+       default:
+               return DDR_HZ >> 1;
        }
-       return DDR_HZ >> 1;
 }
 EXPORT_SYMBOL(ifxmips_get_cpu_hz);