/* SPDX-License-Identifier: GPL-2.0-only */1/*2*3* Copyright (C) 2013 John Crispin <[email protected]>4*/56#ifndef _RALINK_COMMON_H__7#define _RALINK_COMMON_H__89#define RAMIPS_SYS_TYPE_LEN 321011struct ralink_soc_info {12unsigned char sys_type[RAMIPS_SYS_TYPE_LEN];13unsigned char *compatible;1415unsigned long mem_base;16unsigned long mem_size;17unsigned long mem_size_min;18unsigned long mem_size_max;19void (*mem_detect)(void);20};21extern struct ralink_soc_info soc_info;2223extern void ralink_of_remap(void);2425extern void __init prom_soc_init(struct ralink_soc_info *soc_info);2627#endif /* _RALINK_COMMON_H__ */282930