diff options
Diffstat (limited to 'arch/mips/lantiq/prom.h')
-rw-r--r-- | arch/mips/lantiq/prom.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/arch/mips/lantiq/prom.h b/arch/mips/lantiq/prom.h index b4229d94280f..a3fa1a2bfaae 100644 --- a/arch/mips/lantiq/prom.h +++ b/arch/mips/lantiq/prom.h | |||
@@ -10,16 +10,22 @@ | |||
10 | #define _LTQ_PROM_H__ | 10 | #define _LTQ_PROM_H__ |
11 | 11 | ||
12 | #define LTQ_SYS_TYPE_LEN 0x100 | 12 | #define LTQ_SYS_TYPE_LEN 0x100 |
13 | #define LTQ_SYS_REV_LEN 0x10 | ||
13 | 14 | ||
14 | struct ltq_soc_info { | 15 | struct ltq_soc_info { |
15 | unsigned char *name; | 16 | unsigned char *name; |
16 | unsigned int rev; | 17 | unsigned int rev; |
18 | unsigned char rev_type[LTQ_SYS_REV_LEN]; | ||
19 | unsigned int srev; | ||
17 | unsigned int partnum; | 20 | unsigned int partnum; |
18 | unsigned int type; | 21 | unsigned int type; |
19 | unsigned char sys_type[LTQ_SYS_TYPE_LEN]; | 22 | unsigned char sys_type[LTQ_SYS_TYPE_LEN]; |
23 | unsigned char *compatible; | ||
20 | }; | 24 | }; |
21 | 25 | ||
22 | extern void ltq_soc_detect(struct ltq_soc_info *i); | 26 | extern void ltq_soc_detect(struct ltq_soc_info *i); |
23 | extern void ltq_soc_setup(void); | 27 | extern void ltq_soc_init(void); |
28 | |||
29 | extern struct boot_param_header __dtb_start; | ||
24 | 30 | ||
25 | #endif | 31 | #endif |