diff options
-rw-r--r-- | arch/m68k/include/asm/bootinfo.h | 39 | ||||
-rw-r--r-- | arch/m68k/include/asm/macintosh.h | 23 | ||||
-rw-r--r-- | arch/m68k/kernel/head.S | 2 |
3 files changed, 23 insertions, 41 deletions
diff --git a/arch/m68k/include/asm/bootinfo.h b/arch/m68k/include/asm/bootinfo.h index 44f97beb5215..908c42f91e6a 100644 --- a/arch/m68k/include/asm/bootinfo.h +++ b/arch/m68k/include/asm/bootinfo.h | |||
@@ -167,45 +167,6 @@ struct bi_record { | |||
167 | #define BI_MAC_IOP_SWIM 0x8020 /* Mac SWIM floppy IOP */ | 167 | #define BI_MAC_IOP_SWIM 0x8020 /* Mac SWIM floppy IOP */ |
168 | #define BI_MAC_IOP_ADB 0x8021 /* Mac ADB IOP */ | 168 | #define BI_MAC_IOP_ADB 0x8021 /* Mac ADB IOP */ |
169 | 169 | ||
170 | /* | ||
171 | * Mac: compatibility with old booter data format (temporarily) | ||
172 | * Fields unused with the new bootinfo can be deleted now; instead of | ||
173 | * adding new fields the struct might be splitted into a hardware address | ||
174 | * part and a hardware type part | ||
175 | */ | ||
176 | |||
177 | #ifndef __ASSEMBLY__ | ||
178 | |||
179 | struct mac_booter_data | ||
180 | { | ||
181 | unsigned long videoaddr; | ||
182 | unsigned long videorow; | ||
183 | unsigned long videodepth; | ||
184 | unsigned long dimensions; | ||
185 | unsigned long args; | ||
186 | unsigned long boottime; | ||
187 | unsigned long gmtbias; | ||
188 | unsigned long bootver; | ||
189 | unsigned long videological; | ||
190 | unsigned long sccbase; | ||
191 | unsigned long id; | ||
192 | unsigned long memsize; | ||
193 | unsigned long serialmf; | ||
194 | unsigned long serialhsk; | ||
195 | unsigned long serialgpi; | ||
196 | unsigned long printmf; | ||
197 | unsigned long printhsk; | ||
198 | unsigned long printgpi; | ||
199 | unsigned long cpuid; | ||
200 | unsigned long rombase; | ||
201 | unsigned long adbdelay; | ||
202 | unsigned long timedbra; | ||
203 | }; | ||
204 | |||
205 | extern struct mac_booter_data | ||
206 | mac_bi_data; | ||
207 | |||
208 | #endif | ||
209 | 170 | ||
210 | /* | 171 | /* |
211 | * Apollo-specific tags | 172 | * Apollo-specific tags |
diff --git a/arch/m68k/include/asm/macintosh.h b/arch/m68k/include/asm/macintosh.h index 682a1a2ff55f..6a633eb64331 100644 --- a/arch/m68k/include/asm/macintosh.h +++ b/arch/m68k/include/asm/macintosh.h | |||
@@ -135,4 +135,27 @@ struct mac_model | |||
135 | 135 | ||
136 | extern struct mac_model *macintosh_config; | 136 | extern struct mac_model *macintosh_config; |
137 | 137 | ||
138 | |||
139 | /* | ||
140 | * Internal representation of the Mac hardware, filled in from bootinfo | ||
141 | */ | ||
142 | |||
143 | struct mac_booter_data | ||
144 | { | ||
145 | unsigned long videoaddr; | ||
146 | unsigned long videorow; | ||
147 | unsigned long videodepth; | ||
148 | unsigned long dimensions; | ||
149 | unsigned long boottime; | ||
150 | unsigned long gmtbias; | ||
151 | unsigned long videological; | ||
152 | unsigned long sccbase; | ||
153 | unsigned long id; | ||
154 | unsigned long memsize; | ||
155 | unsigned long cpuid; | ||
156 | unsigned long rombase; | ||
157 | }; | ||
158 | |||
159 | extern struct mac_booter_data mac_bi_data; | ||
160 | |||
138 | #endif | 161 | #endif |
diff --git a/arch/m68k/kernel/head.S b/arch/m68k/kernel/head.S index 8d14b0f9a36f..28f817481f3b 100644 --- a/arch/m68k/kernel/head.S +++ b/arch/m68k/kernel/head.S | |||
@@ -3896,8 +3896,6 @@ BVME_SCC_DATA_A = 0xffb0000f | |||
3896 | #endif | 3896 | #endif |
3897 | 3897 | ||
3898 | #if defined(CONFIG_MAC) | 3898 | #if defined(CONFIG_MAC) |
3899 | L(mac_booter_data): | ||
3900 | .long 0 | ||
3901 | L(mac_videobase): | 3899 | L(mac_videobase): |
3902 | .long 0 | 3900 | .long 0 |
3903 | L(mac_videodepth): | 3901 | L(mac_videodepth): |