ramips/rt305x: add initial support for Rt5350 SoC
[openwrt/svn-archive/archive.git] / target / linux / ramips / files / arch / mips / include / asm / mach-ralink / rt305x.h
index 0afbb2fbf3f095ff2b2f224fc6e9a996b3e43e57..c59135c1abbfd5a7e1d51b07108194751d14b157 100644 (file)
@@ -22,6 +22,7 @@ enum rt305x_soc_type {
        RT305X_SOC_RT3052,
        RT305X_SOC_RT3350,
        RT305X_SOC_RT3352,
+       RT305X_SOC_RT5350,
 };
 
 extern enum rt305x_soc_type rt305x_soc;
@@ -51,6 +52,11 @@ static inline int soc_is_rt3352(void)
        return rt305x_soc == RT305X_SOC_RT3352;
 }
 
+static inline int soc_is_rt5350(void)
+{
+       return rt305x_soc == RT305X_SOC_RT5350;
+}
+
 #define RT305X_MEM_SIZE_MIN (2 * 1024 * 1024)
 #define RT305X_MEM_SIZE_MAX (64 * 1024 * 1024)