diff options
Diffstat (limited to 'target/linux/ramips/files/arch/mips/include/asm/mach-ralink/rt305x.h')
-rw-r--r-- | target/linux/ramips/files/arch/mips/include/asm/mach-ralink/rt305x.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/rt305x.h b/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/rt305x.h index 0afbb2fbf3..c59135c1ab 100644 --- a/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/rt305x.h +++ b/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/rt305x.h @@ -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) |