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>
This commit is contained in:
parent
958903d6f0
commit
bdd47c9fc1
3 changed files with 23 additions and 41 deletions
|
@ -167,45 +167,6 @@ struct bi_record {
|
||||||
#define BI_MAC_IOP_SWIM 0x8020 /* Mac SWIM floppy IOP */
|
#define BI_MAC_IOP_SWIM 0x8020 /* Mac SWIM floppy IOP */
|
||||||
#define BI_MAC_IOP_ADB 0x8021 /* Mac ADB IOP */
|
#define BI_MAC_IOP_ADB 0x8021 /* Mac ADB IOP */
|
||||||
|
|
||||||
/*
|
|
||||||
* Mac: compatibility with old booter data format (temporarily)
|
|
||||||
* Fields unused with the new bootinfo can be deleted now; instead of
|
|
||||||
* adding new fields the struct might be splitted into a hardware address
|
|
||||||
* part and a hardware type part
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef __ASSEMBLY__
|
|
||||||
|
|
||||||
struct mac_booter_data
|
|
||||||
{
|
|
||||||
unsigned long videoaddr;
|
|
||||||
unsigned long videorow;
|
|
||||||
unsigned long videodepth;
|
|
||||||
unsigned long dimensions;
|
|
||||||
unsigned long args;
|
|
||||||
unsigned long boottime;
|
|
||||||
unsigned long gmtbias;
|
|
||||||
unsigned long bootver;
|
|
||||||
unsigned long videological;
|
|
||||||
unsigned long sccbase;
|
|
||||||
unsigned long id;
|
|
||||||
unsigned long memsize;
|
|
||||||
unsigned long serialmf;
|
|
||||||
unsigned long serialhsk;
|
|
||||||
unsigned long serialgpi;
|
|
||||||
unsigned long printmf;
|
|
||||||
unsigned long printhsk;
|
|
||||||
unsigned long printgpi;
|
|
||||||
unsigned long cpuid;
|
|
||||||
unsigned long rombase;
|
|
||||||
unsigned long adbdelay;
|
|
||||||
unsigned long timedbra;
|
|
||||||
};
|
|
||||||
|
|
||||||
extern struct mac_booter_data
|
|
||||||
mac_bi_data;
|
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Apollo-specific tags
|
* Apollo-specific tags
|
||||||
|
|
|
@ -135,4 +135,27 @@ struct mac_model
|
||||||
|
|
||||||
extern struct mac_model *macintosh_config;
|
extern struct mac_model *macintosh_config;
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Internal representation of the Mac hardware, filled in from bootinfo
|
||||||
|
*/
|
||||||
|
|
||||||
|
struct mac_booter_data
|
||||||
|
{
|
||||||
|
unsigned long videoaddr;
|
||||||
|
unsigned long videorow;
|
||||||
|
unsigned long videodepth;
|
||||||
|
unsigned long dimensions;
|
||||||
|
unsigned long boottime;
|
||||||
|
unsigned long gmtbias;
|
||||||
|
unsigned long videological;
|
||||||
|
unsigned long sccbase;
|
||||||
|
unsigned long id;
|
||||||
|
unsigned long memsize;
|
||||||
|
unsigned long cpuid;
|
||||||
|
unsigned long rombase;
|
||||||
|
};
|
||||||
|
|
||||||
|
extern struct mac_booter_data mac_bi_data;
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -3896,8 +3896,6 @@ BVME_SCC_DATA_A = 0xffb0000f
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(CONFIG_MAC)
|
#if defined(CONFIG_MAC)
|
||||||
L(mac_booter_data):
|
|
||||||
.long 0
|
|
||||||
L(mac_videobase):
|
L(mac_videobase):
|
||||||
.long 0
|
.long 0
|
||||||
L(mac_videodepth):
|
L(mac_videodepth):
|
||||||
|
|
Loading…
Add table
Reference in a new issue