Lines Matching refs:soc_info
105 static const char __init *rt305x_get_soc_name(struct ralink_soc_info *soc_info) in rt305x_get_soc_name() argument
113 soc_info->compatible = "ralink,rt3050-soc"; in rt305x_get_soc_name()
117 soc_info->compatible = "ralink,rt3052-soc"; in rt305x_get_soc_name()
122 soc_info->compatible = "ralink,rt3350-soc"; in rt305x_get_soc_name()
126 soc_info->compatible = "ralink,rt3352-soc"; in rt305x_get_soc_name()
130 soc_info->compatible = "ralink,rt5350-soc"; in rt305x_get_soc_name()
193 void __init prom_soc_init(struct ralink_soc_info *soc_info) in prom_soc_init() argument
195 const char *name = rt305x_get_soc_name(soc_info); in prom_soc_init()
197 snprintf(soc_info->sys_type, RAMIPS_SYS_TYPE_LEN, in prom_soc_init()
203 soc_info->mem_base = RT305X_SDRAM_BASE; in prom_soc_init()
205 soc_info->mem_size = rt5350_get_mem_size(); in prom_soc_init()
207 soc_info->mem_size_min = RT305X_MEM_SIZE_MIN; in prom_soc_init()
208 soc_info->mem_size_max = RT305X_MEM_SIZE_MAX; in prom_soc_init()
210 soc_info->mem_size_min = RT3352_MEM_SIZE_MIN; in prom_soc_init()
211 soc_info->mem_size_max = RT3352_MEM_SIZE_MAX; in prom_soc_init()
214 soc_info_ptr = soc_info; in prom_soc_init()