mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
Correct some common spelling mistakes
- occured -> occurred - accomodate -> accommodate - existant -> existent - asssertion -> assertion - manangement -> management - cotroller -> controller Change-Id: Ibd6663752466d691fabbdc216ea05f2b58ac12d1 Signed-off-by: Martin Roth <martinroth@google.com> Reviewed-on: https://review.coreboot.org/12850 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
parent
2e0d9447db
commit
2ed0aa258f
29 changed files with 58 additions and 58 deletions
|
@ -91,7 +91,7 @@ call_bootblock:
|
||||||
ldr r0,=0x00000000
|
ldr r0,=0x00000000
|
||||||
/*
|
/*
|
||||||
* The current design of cpu_info places the struct at the top of the
|
* The current design of cpu_info places the struct at the top of the
|
||||||
* stack. Free enough space to accomodate for that, but make sure it's
|
* stack. Free enough space to accommodate for that, but make sure it's
|
||||||
* 8-byte aligned for ABI compliance.
|
* 8-byte aligned for ABI compliance.
|
||||||
*/
|
*/
|
||||||
sub sp, sp, #16
|
sub sp, sp, #16
|
||||||
|
|
|
@ -385,7 +385,7 @@ void x86_exception(struct eregs *info)
|
||||||
signo = exception_to_signal[info->vector];
|
signo = exception_to_signal[info->vector];
|
||||||
}
|
}
|
||||||
|
|
||||||
/* reply to the host that an exception has occured */
|
/* reply to the host that an exception has occurred */
|
||||||
out_buffer[0] = 'S';
|
out_buffer[0] = 'S';
|
||||||
out_buffer[1] = hexchars[(signo>>4) & 0xf];
|
out_buffer[1] = hexchars[(signo>>4) & 0xf];
|
||||||
out_buffer[2] = hexchars[signo & 0xf];
|
out_buffer[2] = hexchars[signo & 0xf];
|
||||||
|
|
|
@ -78,7 +78,7 @@ static int codec_detect(u8 *base)
|
||||||
mdelay(1);
|
mdelay(1);
|
||||||
reg32 = read32(base + 0x0E);
|
reg32 = read32(base + 0x0E);
|
||||||
} while ((reg32 != 0) && --count);
|
} while ((reg32 != 0) && --count);
|
||||||
/* Timeout occured */
|
/* Timeout occurred */
|
||||||
if (!count)
|
if (!count)
|
||||||
goto no_codec;
|
goto no_codec;
|
||||||
|
|
||||||
|
|
|
@ -311,7 +311,7 @@
|
||||||
* If the payload was built out-of-tree, check that it was compiled as
|
* If the payload was built out-of-tree, check that it was compiled as
|
||||||
* a coreboot payload
|
* a coreboot payload
|
||||||
* \n
|
* \n
|
||||||
* Check the console output to see exactly where the failure occured.
|
* Check the console output to see exactly where the failure occurred.
|
||||||
*/
|
*/
|
||||||
#define POST_DIE 0xff
|
#define POST_DIE 0xff
|
||||||
|
|
||||||
|
|
|
@ -159,7 +159,7 @@ static int imdr_create_empty(struct imdr *imdr, size_t root_size,
|
||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* root_size needs to be large enough to accomodate root pointer and
|
* root_size needs to be large enough to accommodate root pointer and
|
||||||
* root book keeping structure. The caller needs to ensure there's
|
* root book keeping structure. The caller needs to ensure there's
|
||||||
* enough room for tracking individual allocations.
|
* enough room for tracking individual allocations.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -45,7 +45,7 @@ chip northbridge/via/cx700
|
||||||
end
|
end
|
||||||
end # superio
|
end # superio
|
||||||
end # pci 11.0
|
end # pci 11.0
|
||||||
# 1-4 non existant
|
# 1-4 non existent
|
||||||
#device pci 11.5 on end # AC97 Audio
|
#device pci 11.5 on end # AC97 Audio
|
||||||
#device pci 11.6 off end # AC97 Modem
|
#device pci 11.6 off end # AC97 Modem
|
||||||
#device pci 12.0 on end # Ethernet
|
#device pci 12.0 on end # Ethernet
|
||||||
|
|
|
@ -45,7 +45,7 @@
|
||||||
OperationRegion(K8TR, PCI_Config, 0xE4, 0x4)
|
OperationRegion(K8TR, PCI_Config, 0xE4, 0x4)
|
||||||
Field(K8TR, DWordAcc, NoLock, Preserve) {
|
Field(K8TR, DWordAcc, NoLock, Preserve) {
|
||||||
, 1,
|
, 1,
|
||||||
THTP, 1, /* Temperature sensor trip occured */
|
THTP, 1, /* Temperature sensor trip occurred */
|
||||||
CORE, 1, /* Select Core */
|
CORE, 1, /* Select Core */
|
||||||
TTS0, 1, /* Temperature sensor trip on CPU1 (or single core CPU0) */
|
TTS0, 1, /* Temperature sensor trip on CPU1 (or single core CPU0) */
|
||||||
TTS1, 1, /* Temperature sensor trip on CPU0 */
|
TTS1, 1, /* Temperature sensor trip on CPU0 */
|
||||||
|
|
|
@ -275,7 +275,7 @@ static u32 GetScrubAddr_D(u32 Node)
|
||||||
/* Scrub Addr High again, detect 32-bit wrap */
|
/* Scrub Addr High again, detect 32-bit wrap */
|
||||||
val = Get_NB32(dev, reg);
|
val = Get_NB32(dev, reg);
|
||||||
if(val != hi) {
|
if(val != hi) {
|
||||||
hi = val; /* Scrub Addr Low again, if wrap occured */
|
hi = val; /* Scrub Addr Low again, if wrap occurred */
|
||||||
lo = Get_NB32(dev, regx);
|
lo = Get_NB32(dev, regx);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -2167,8 +2167,8 @@ static void sdram_program_clock_crossing(void)
|
||||||
#if CONFIG_NORTHBRIDGE_INTEL_SUBTYPE_I945GM
|
#if CONFIG_NORTHBRIDGE_INTEL_SUBTYPE_I945GM
|
||||||
static const u32 data_clock_crossing[] = {
|
static const u32 data_clock_crossing[] = {
|
||||||
0x00100401, 0x00000000, /* DDR400 FSB400 */
|
0x00100401, 0x00000000, /* DDR400 FSB400 */
|
||||||
0xffffffff, 0xffffffff, /* nonexistant */
|
0xffffffff, 0xffffffff, /* nonexistent */
|
||||||
0xffffffff, 0xffffffff, /* nonexistant */
|
0xffffffff, 0xffffffff, /* nonexistent */
|
||||||
|
|
||||||
0x08040120, 0x00000000, /* DDR400 FSB533 */
|
0x08040120, 0x00000000, /* DDR400 FSB533 */
|
||||||
0x00100401, 0x00000000, /* DDR533 FSB533 */
|
0x00100401, 0x00000000, /* DDR533 FSB533 */
|
||||||
|
@ -2178,51 +2178,51 @@ static void sdram_program_clock_crossing(void)
|
||||||
0x10040280, 0x00000040, /* DDR533 FSB667 */
|
0x10040280, 0x00000040, /* DDR533 FSB667 */
|
||||||
0x00100401, 0x00000000, /* DDR667 FSB667 */
|
0x00100401, 0x00000000, /* DDR667 FSB667 */
|
||||||
|
|
||||||
0xffffffff, 0xffffffff, /* nonexistant */
|
0xffffffff, 0xffffffff, /* nonexistent */
|
||||||
0xffffffff, 0xffffffff, /* nonexistant */
|
0xffffffff, 0xffffffff, /* nonexistent */
|
||||||
0xffffffff, 0xffffffff, /* nonexistant */
|
0xffffffff, 0xffffffff, /* nonexistent */
|
||||||
|
|
||||||
0xffffffff, 0xffffffff, /* nonexistant */
|
0xffffffff, 0xffffffff, /* nonexistent */
|
||||||
0xffffffff, 0xffffffff, /* nonexistant */
|
0xffffffff, 0xffffffff, /* nonexistent */
|
||||||
0xffffffff, 0xffffffff, /* nonexistant */
|
0xffffffff, 0xffffffff, /* nonexistent */
|
||||||
};
|
};
|
||||||
|
|
||||||
static const u32 command_clock_crossing[] = {
|
static const u32 command_clock_crossing[] = {
|
||||||
0x04020208, 0x00000000, /* DDR400 FSB400 */
|
0x04020208, 0x00000000, /* DDR400 FSB400 */
|
||||||
0xffffffff, 0xffffffff, /* nonexistant */
|
0xffffffff, 0xffffffff, /* nonexistent */
|
||||||
0xffffffff, 0xffffffff, /* nonexistant */
|
0xffffffff, 0xffffffff, /* nonexistent */
|
||||||
|
|
||||||
0x00060108, 0x00000000, /* DDR400 FSB533 */
|
0x00060108, 0x00000000, /* DDR400 FSB533 */
|
||||||
0x04020108, 0x00000000, /* DDR533 FSB533 */
|
0x04020108, 0x00000000, /* DDR533 FSB533 */
|
||||||
0xffffffff, 0xffffffff, /* nonexistant */
|
0xffffffff, 0xffffffff, /* nonexistent */
|
||||||
|
|
||||||
0x00040318, 0x00000000, /* DDR400 FSB667 */
|
0x00040318, 0x00000000, /* DDR400 FSB667 */
|
||||||
0x04020118, 0x00000000, /* DDR533 FSB667 */
|
0x04020118, 0x00000000, /* DDR533 FSB667 */
|
||||||
0x02010804, 0x00000000, /* DDR667 FSB667 */
|
0x02010804, 0x00000000, /* DDR667 FSB667 */
|
||||||
|
|
||||||
0xffffffff, 0xffffffff, /* nonexistant */
|
0xffffffff, 0xffffffff, /* nonexistent */
|
||||||
0xffffffff, 0xffffffff, /* nonexistant */
|
0xffffffff, 0xffffffff, /* nonexistent */
|
||||||
0xffffffff, 0xffffffff, /* nonexistant */
|
0xffffffff, 0xffffffff, /* nonexistent */
|
||||||
|
|
||||||
0xffffffff, 0xffffffff, /* nonexistant */
|
0xffffffff, 0xffffffff, /* nonexistent */
|
||||||
0xffffffff, 0xffffffff, /* nonexistant */
|
0xffffffff, 0xffffffff, /* nonexistent */
|
||||||
0xffffffff, 0xffffffff, /* nonexistant */
|
0xffffffff, 0xffffffff, /* nonexistent */
|
||||||
};
|
};
|
||||||
|
|
||||||
#elif CONFIG_NORTHBRIDGE_INTEL_SUBTYPE_I945GC
|
#elif CONFIG_NORTHBRIDGE_INTEL_SUBTYPE_I945GC
|
||||||
/* i945 G/P */
|
/* i945 G/P */
|
||||||
static const u32 data_clock_crossing[] = {
|
static const u32 data_clock_crossing[] = {
|
||||||
0xffffffff, 0xffffffff, /* nonexistant */
|
0xffffffff, 0xffffffff, /* nonexistent */
|
||||||
0xffffffff, 0xffffffff, /* nonexistant */
|
0xffffffff, 0xffffffff, /* nonexistent */
|
||||||
0xffffffff, 0xffffffff, /* nonexistant */
|
0xffffffff, 0xffffffff, /* nonexistent */
|
||||||
|
|
||||||
0x10080201, 0x00000000, /* DDR400 FSB533 */
|
0x10080201, 0x00000000, /* DDR400 FSB533 */
|
||||||
0x00100401, 0x00000000, /* DDR533 FSB533 */
|
0x00100401, 0x00000000, /* DDR533 FSB533 */
|
||||||
0x00010402, 0x00000000, /* DDR667 FSB533 - fake values */
|
0x00010402, 0x00000000, /* DDR667 FSB533 - fake values */
|
||||||
|
|
||||||
0xffffffff, 0xffffffff, /* nonexistant */
|
0xffffffff, 0xffffffff, /* nonexistent */
|
||||||
0xffffffff, 0xffffffff, /* nonexistant */
|
0xffffffff, 0xffffffff, /* nonexistent */
|
||||||
0xffffffff, 0xffffffff, /* nonexistant */
|
0xffffffff, 0xffffffff, /* nonexistent */
|
||||||
|
|
||||||
0x04020108, 0x00000000, /* DDR400 FSB800 */
|
0x04020108, 0x00000000, /* DDR400 FSB800 */
|
||||||
0x00020108, 0x00000000, /* DDR533 FSB800 */
|
0x00020108, 0x00000000, /* DDR533 FSB800 */
|
||||||
|
@ -2234,17 +2234,17 @@ static void sdram_program_clock_crossing(void)
|
||||||
};
|
};
|
||||||
|
|
||||||
static const u32 command_clock_crossing[] = {
|
static const u32 command_clock_crossing[] = {
|
||||||
0xffffffff, 0xffffffff, /* nonexistant */
|
0xffffffff, 0xffffffff, /* nonexistent */
|
||||||
0xffffffff, 0xffffffff, /* nonexistant */
|
0xffffffff, 0xffffffff, /* nonexistent */
|
||||||
0xffffffff, 0xffffffff, /* nonexistant */
|
0xffffffff, 0xffffffff, /* nonexistent */
|
||||||
|
|
||||||
0x00010800, 0x00000402, /* DDR400 FSB533 */
|
0x00010800, 0x00000402, /* DDR400 FSB533 */
|
||||||
0x01000400, 0x00000200, /* DDR533 FSB533 */
|
0x01000400, 0x00000200, /* DDR533 FSB533 */
|
||||||
0x00020904, 0x00000000, /* DDR667 FSB533 - fake values */
|
0x00020904, 0x00000000, /* DDR667 FSB533 - fake values */
|
||||||
|
|
||||||
0xffffffff, 0xffffffff, /* nonexistant */
|
0xffffffff, 0xffffffff, /* nonexistent */
|
||||||
0xffffffff, 0xffffffff, /* nonexistant */
|
0xffffffff, 0xffffffff, /* nonexistent */
|
||||||
0xffffffff, 0xffffffff, /* nonexistant */
|
0xffffffff, 0xffffffff, /* nonexistent */
|
||||||
|
|
||||||
0x02010804, 0x00000000, /* DDR400 FSB800 */
|
0x02010804, 0x00000000, /* DDR400 FSB800 */
|
||||||
0x00010402, 0x00000000, /* DDR533 FSB800 */
|
0x00010402, 0x00000000, /* DDR533 FSB800 */
|
||||||
|
|
|
@ -38,7 +38,7 @@ static void sdram_read_spds(struct sysinfo *s)
|
||||||
int status = 0;
|
int status = 0;
|
||||||
FOR_EACH_DIMM(i) {
|
FOR_EACH_DIMM(i) {
|
||||||
if (s->spd_map[i] == 0) {
|
if (s->spd_map[i] == 0) {
|
||||||
/* Non-existant SPD address */
|
/* Non-existent SPD address */
|
||||||
s->dimms[i].card_type = 0;
|
s->dimms[i].card_type = 0;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
|
@ -36,7 +36,7 @@ static void vx900_print_sata_errors(u32 flags)
|
||||||
printk(BIOS_DEBUG, "\tCOMWAKE %s\n",
|
printk(BIOS_DEBUG, "\tCOMWAKE %s\n",
|
||||||
(flags & (1 << 16)) ? "detected" : "not detected");
|
(flags & (1 << 16)) ? "detected" : "not detected");
|
||||||
printk(BIOS_DEBUG, "\tExchange as determined by COMINIT %s\n",
|
printk(BIOS_DEBUG, "\tExchange as determined by COMINIT %s\n",
|
||||||
(flags & (1 << 26)) ? "occured" : "not occured");
|
(flags & (1 << 26)) ? "occurred" : "not occurred");
|
||||||
printk(BIOS_DEBUG, "\tPort selector presence %s\n",
|
printk(BIOS_DEBUG, "\tPort selector presence %s\n",
|
||||||
(flags & (1 << 27)) ? "detected" : "not detected");
|
(flags & (1 << 27)) ? "detected" : "not detected");
|
||||||
/* Errors */
|
/* Errors */
|
||||||
|
|
|
@ -1178,7 +1178,7 @@ static int clear_ddr(uint32_t offset, uint32_t size)
|
||||||
}
|
}
|
||||||
printk(BIOS_INFO, "clear_ddr: Failed: 0x%lx\n", get_timer(start));
|
printk(BIOS_INFO, "clear_ddr: Failed: 0x%lx\n", get_timer(start));
|
||||||
if(reg32_read((volatile uint32_t *)DDR_BistErrorOccurred))
|
if(reg32_read((volatile uint32_t *)DDR_BistErrorOccurred))
|
||||||
printk(BIOS_ERR, "clear_ddr: Error occured\n");
|
printk(BIOS_ERR, "clear_ddr: Error occurred\n");
|
||||||
return(1);
|
return(1);
|
||||||
}
|
}
|
||||||
#endif /* CONFIG_IPROC_DDR_ECC */
|
#endif /* CONFIG_IPROC_DDR_ECC */
|
||||||
|
|
|
@ -461,7 +461,7 @@ void southbridge_smi_handler(void)
|
||||||
southbridge_smi[i]();
|
southbridge_smi[i]();
|
||||||
} else {
|
} else {
|
||||||
printk(BIOS_DEBUG,
|
printk(BIOS_DEBUG,
|
||||||
"SMI_STS[%d] occured, but no "
|
"SMI_STS[%d] occurred, but no "
|
||||||
"handler available.\n", i);
|
"handler available.\n", i);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -509,7 +509,7 @@ void southbridge_smi_handler(void)
|
||||||
southbridge_smi[i]();
|
southbridge_smi[i]();
|
||||||
} else {
|
} else {
|
||||||
printk(BIOS_DEBUG,
|
printk(BIOS_DEBUG,
|
||||||
"SMI_STS[%d] occured, but no handler available.\n",
|
"SMI_STS[%d] occurred, but no handler available.\n",
|
||||||
i);
|
i);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -389,7 +389,7 @@ clock_display(u32 frequency)
|
||||||
|
|
||||||
/* Initialize the UART and put it on CLK_M so we can use it during clock_init().
|
/* Initialize the UART and put it on CLK_M so we can use it during clock_init().
|
||||||
* Will later move it to PLLP in clock_config(). The divisor must be very small
|
* Will later move it to PLLP in clock_config(). The divisor must be very small
|
||||||
* to accomodate 12KHz OSCs, so we override the 16.0 UART divider with the 15.1
|
* to accommodate 12KHz OSCs, so we override the 16.0 UART divider with the 15.1
|
||||||
* CLK_SOURCE divider to get more precision. (This might still not be enough for
|
* CLK_SOURCE divider to get more precision. (This might still not be enough for
|
||||||
* some OSCs... if you use 13KHz, be prepared to have a bad time.) The 1900 has
|
* some OSCs... if you use 13KHz, be prepared to have a bad time.) The 1900 has
|
||||||
* been determined through trial and error (must lead to div 13 at 24MHz). */
|
* been determined through trial and error (must lead to div 13 at 24MHz). */
|
||||||
|
|
|
@ -389,7 +389,7 @@ u32 clock_configure_plld(u32 frequency)
|
||||||
|
|
||||||
/* Initialize the UART and put it on CLK_M so we can use it during clock_init().
|
/* Initialize the UART and put it on CLK_M so we can use it during clock_init().
|
||||||
* Will later move it to PLLP in clock_config(). The divisor must be very small
|
* Will later move it to PLLP in clock_config(). The divisor must be very small
|
||||||
* to accomodate 12KHz OSCs, so we override the 16.0 UART divider with the 15.1
|
* to accommodate 12KHz OSCs, so we override the 16.0 UART divider with the 15.1
|
||||||
* CLK_SOURCE divider to get more precision. (This might still not be enough for
|
* CLK_SOURCE divider to get more precision. (This might still not be enough for
|
||||||
* some OSCs... if you use 13KHz, be prepared to have a bad time.) The 1900 has
|
* some OSCs... if you use 13KHz, be prepared to have a bad time.) The 1900 has
|
||||||
* been determined through trial and error (must lead to div 13 at 24MHz). */
|
* been determined through trial and error (must lead to div 13 at 24MHz). */
|
||||||
|
|
|
@ -64,7 +64,7 @@ static void process_gpe_smi(void)
|
||||||
|
|
||||||
/* Only Bits [23:0] indicate GEVENT SMIs. */
|
/* Only Bits [23:0] indicate GEVENT SMIs. */
|
||||||
if (status & gevent_mask) {
|
if (status & gevent_mask) {
|
||||||
/* A GEVENT SMI occured */
|
/* A GEVENT SMI occurred */
|
||||||
mainboard_smi_gpi(status & gevent_mask);
|
mainboard_smi_gpi(status & gevent_mask);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -855,7 +855,7 @@ void southbridge_smi_handler(void)
|
||||||
if (southbridge_smi[i]) {
|
if (southbridge_smi[i]) {
|
||||||
southbridge_smi[i]();
|
southbridge_smi[i]();
|
||||||
} else {
|
} else {
|
||||||
printk(BIOS_DEBUG, "SMI_STS[%d] occured, but no "
|
printk(BIOS_DEBUG, "SMI_STS[%d] occurred, but no "
|
||||||
"handler available.\n", i);
|
"handler available.\n", i);
|
||||||
dump = 1;
|
dump = 1;
|
||||||
}
|
}
|
||||||
|
|
|
@ -742,7 +742,7 @@ void southbridge_smi_handler(void)
|
||||||
if (southbridge_smi[i]) {
|
if (southbridge_smi[i]) {
|
||||||
southbridge_smi[i]();
|
southbridge_smi[i]();
|
||||||
} else {
|
} else {
|
||||||
printk(BIOS_DEBUG, "SMI_STS[%d] occured, but no "
|
printk(BIOS_DEBUG, "SMI_STS[%d] occurred, but no "
|
||||||
"handler available.\n", i);
|
"handler available.\n", i);
|
||||||
dump = 1;
|
dump = 1;
|
||||||
}
|
}
|
||||||
|
|
|
@ -743,7 +743,7 @@ void southbridge_smi_handler(void)
|
||||||
if (southbridge_smi[i]) {
|
if (southbridge_smi[i]) {
|
||||||
southbridge_smi[i]();
|
southbridge_smi[i]();
|
||||||
} else {
|
} else {
|
||||||
printk(BIOS_DEBUG, "SMI_STS[%d] occured, but no "
|
printk(BIOS_DEBUG, "SMI_STS[%d] occurred, but no "
|
||||||
"handler available.\n", i);
|
"handler available.\n", i);
|
||||||
dump = 1;
|
dump = 1;
|
||||||
}
|
}
|
||||||
|
|
|
@ -629,7 +629,7 @@ void southbridge_smi_handler(unsigned int node, smm_state_save_area_t *state_sav
|
||||||
if (southbridge_smi[i])
|
if (southbridge_smi[i])
|
||||||
southbridge_smi[i](node, state_save);
|
southbridge_smi[i](node, state_save);
|
||||||
else {
|
else {
|
||||||
printk(BIOS_DEBUG, "SMI_STS[%d] occured, but no "
|
printk(BIOS_DEBUG, "SMI_STS[%d] occurred, but no "
|
||||||
"handler available.\n", i);
|
"handler available.\n", i);
|
||||||
dump = 1;
|
dump = 1;
|
||||||
}
|
}
|
||||||
|
|
|
@ -42,7 +42,7 @@
|
||||||
typedef struct southbridge_intel_i82801gx_config config_t;
|
typedef struct southbridge_intel_i82801gx_config config_t;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set miscellanous static southbridge features.
|
* Set miscellaneous static southbridge features.
|
||||||
*
|
*
|
||||||
* @param dev PCI device with I/O APIC control registers
|
* @param dev PCI device with I/O APIC control registers
|
||||||
*/
|
*/
|
||||||
|
@ -200,7 +200,7 @@ static void i82801gx_power_options(device_t dev)
|
||||||
}
|
}
|
||||||
|
|
||||||
reg8 |= (3 << 4); /* avoid #S4 assertions */
|
reg8 |= (3 << 4); /* avoid #S4 assertions */
|
||||||
reg8 &= ~(1 << 3); /* minimum asssertion is 1 to 2 RTCCLK */
|
reg8 &= ~(1 << 3); /* minimum assertion is 1 to 2 RTCCLK */
|
||||||
|
|
||||||
pci_write_config8(dev, GEN_PMCON_3, reg8);
|
pci_write_config8(dev, GEN_PMCON_3, reg8);
|
||||||
printk(BIOS_INFO, "Set power %s after power failure.\n", state);
|
printk(BIOS_INFO, "Set power %s after power failure.\n", state);
|
||||||
|
|
|
@ -42,7 +42,7 @@ void i82801ix_early_init(void)
|
||||||
/* Enable upper 128bytes of CMOS. */
|
/* Enable upper 128bytes of CMOS. */
|
||||||
RCBA32(0x3400) = (1 << 2);
|
RCBA32(0x3400) = (1 << 2);
|
||||||
|
|
||||||
/* Initialize power manangement initialization
|
/* Initialize power management initialization
|
||||||
register early as it affects reboot behavior. */
|
register early as it affects reboot behavior. */
|
||||||
/* Bit 20 activates global reset of host and ME on cf9 writes of 0x6
|
/* Bit 20 activates global reset of host and ME on cf9 writes of 0x6
|
||||||
and 0xe (required if ME is disabled but present), bit 31 locks it.
|
and 0xe (required if ME is disabled but present), bit 31 locks it.
|
||||||
|
|
|
@ -193,7 +193,7 @@
|
||||||
#define RCBA_FD 0x3418 /* Function Disable, see below. */
|
#define RCBA_FD 0x3418 /* Function Disable, see below. */
|
||||||
#define RCBA_CG 0x341c
|
#define RCBA_CG 0x341c
|
||||||
#define RCBA_FDSW 0x3420
|
#define RCBA_FDSW 0x3420
|
||||||
#define RCBA_MAP 0x35f0 /* UHCI cotroller #6 remapping */
|
#define RCBA_MAP 0x35f0 /* UHCI controller #6 remapping */
|
||||||
|
|
||||||
#define BUC_LAND (1 << 5) /* LAN */
|
#define BUC_LAND (1 << 5) /* LAN */
|
||||||
#define FD_SAD2 (1 << 25) /* SATA #2 */
|
#define FD_SAD2 (1 << 25) /* SATA #2 */
|
||||||
|
|
|
@ -511,7 +511,7 @@ void southbridge_smi_handler(unsigned int node, smm_state_save_area_t *state_sav
|
||||||
if (southbridge_smi[i])
|
if (southbridge_smi[i])
|
||||||
southbridge_smi[i](node, state_save);
|
southbridge_smi[i](node, state_save);
|
||||||
else {
|
else {
|
||||||
printk(BIOS_DEBUG, "SMI_STS[%d] occured, but no "
|
printk(BIOS_DEBUG, "SMI_STS[%d] occurred, but no "
|
||||||
"handler available.\n", i);
|
"handler available.\n", i);
|
||||||
dump = 1;
|
dump = 1;
|
||||||
}
|
}
|
||||||
|
|
|
@ -842,7 +842,7 @@ void southbridge_smi_handler(void)
|
||||||
if (southbridge_smi[i]) {
|
if (southbridge_smi[i]) {
|
||||||
southbridge_smi[i]();
|
southbridge_smi[i]();
|
||||||
} else {
|
} else {
|
||||||
printk(BIOS_DEBUG, "SMI_STS[%d] occured, but no "
|
printk(BIOS_DEBUG, "SMI_STS[%d] occurred, but no "
|
||||||
"handler available.\n", i);
|
"handler available.\n", i);
|
||||||
dump = 1;
|
dump = 1;
|
||||||
}
|
}
|
||||||
|
|
|
@ -530,7 +530,7 @@ void southbridge_smi_handler(void)
|
||||||
southbridge_smi[i]();
|
southbridge_smi[i]();
|
||||||
} else {
|
} else {
|
||||||
printk(BIOS_DEBUG,
|
printk(BIOS_DEBUG,
|
||||||
"SMI_STS[%d] occured, but no "
|
"SMI_STS[%d] occurred, but no "
|
||||||
"handler available.\n", i);
|
"handler available.\n", i);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -81,7 +81,7 @@ static int codec_detect(u8 *base)
|
||||||
mdelay(1);
|
mdelay(1);
|
||||||
reg32 = read32(base + 0x0E);
|
reg32 = read32(base + 0x0E);
|
||||||
} while ((reg32 != 0) && --count);
|
} while ((reg32 != 0) && --count);
|
||||||
/* Timeout occured */
|
/* Timeout occurred */
|
||||||
if (!count)
|
if (!count)
|
||||||
goto no_codec;
|
goto no_codec;
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
* include this file into a mainboard's DSDT _SB device tree and it will expose the
|
* include this file into a mainboard's DSDT _SB device tree and it will expose the
|
||||||
* W83627HF SuperIO and its functionality.
|
* W83627HF SuperIO and its functionality.
|
||||||
*
|
*
|
||||||
* Devices are marked as nonexistant if they got 0x00000000 as I/O base address
|
* Devices are marked as nonexistent if they got 0x00000000 as I/O base address
|
||||||
* (compatibility with legacy bios, which disables logical devices that way)
|
* (compatibility with legacy bios, which disables logical devices that way)
|
||||||
*
|
*
|
||||||
* It allows the change of IO ports, IRQs and DMA settings on most logical
|
* It allows the change of IO ports, IRQs and DMA settings on most logical
|
||||||
|
|
Loading…
Add table
Reference in a new issue