aboutsummaryrefslogtreecommitdiffstats
path: root/arch/m68k/include
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2013-10-02 04:01:43 -0400
committerGeert Uytterhoeven <geert@linux-m68k.org>2013-11-26 05:09:14 -0500
commitbdd47c9fc1d96d3319e938931c83b863b5331b57 (patch)
tree4117fe0c99d55744a0efcfa3f43d8f1ebd5d519d /arch/m68k/include
parent958903d6f08c977778bf5e1f18eb7fd27b30ca72 (diff)
m68k/mac: Move struct mac_booter_data to <asm/macintosh.h>
struct mac_booter_data is no longer part of the bootinfo API, hence move it from <asm/bootinfo.h> to <asm/macintosh.h>, dropping all unused fields in the process. Also remove the no longer used mac_booter_data pointer from head.S. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'arch/m68k/include')
-rw-r--r--arch/m68k/include/asm/bootinfo.h39
-rw-r--r--arch/m68k/include/asm/macintosh.h23
2 files changed, 23 insertions, 39 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
179struct 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
205extern 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
136extern struct mac_model *macintosh_config; 136extern struct mac_model *macintosh_config;
137 137
138
139 /*
140 * Internal representation of the Mac hardware, filled in from bootinfo
141 */
142
143struct 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
159extern struct mac_booter_data mac_bi_data;
160
138#endif 161#endif