sb/intel/i82801jx: Drop `docking_supported`
The three mainboards using this southbridge are desktop boards, which are not dockable. The Dell Precision M6400 laptop is dockable, but even though it has an Eaglelake MCH, it uses an i82801ix southbridge instead. So, one could still port that laptop to coreboot after this change! :P Also, drop the now-unnecessary `chip` and `dev` variables. Change-Id: Ic9ab497c91d66032929190cde22d59a208887f50 Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/42657 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr> Reviewed-by: Nico Huber <nico.h@gmx.de>
This commit is contained in:
parent
27387c3cf5
commit
8d5cedf046
|
@ -48,7 +48,6 @@ struct southbridge_intel_i82801jx_config {
|
||||||
int c4onc3_enable:1;
|
int c4onc3_enable:1;
|
||||||
int c5_enable : 1;
|
int c5_enable : 1;
|
||||||
int c6_enable : 1;
|
int c6_enable : 1;
|
||||||
int docking_supported:1;
|
|
||||||
|
|
||||||
int throttle_duty : 3;
|
int throttle_duty : 3;
|
||||||
|
|
||||||
|
|
|
@ -5,13 +5,10 @@
|
||||||
#include <cpu/x86/smm.h>
|
#include <cpu/x86/smm.h>
|
||||||
#include <version.h>
|
#include <version.h>
|
||||||
#include <southbridge/intel/common/pmutil.h>
|
#include <southbridge/intel/common/pmutil.h>
|
||||||
#include "chip.h"
|
|
||||||
|
|
||||||
void acpi_fill_fadt(acpi_fadt_t *fadt)
|
void acpi_fill_fadt(acpi_fadt_t *fadt)
|
||||||
{
|
{
|
||||||
struct device *dev = pcidev_on_root(0x1f, 0);
|
u16 pmbase = pci_read_config16(pcidev_on_root(0x1f, 0), 0x40) & 0xfffe;
|
||||||
struct southbridge_intel_i82801jx_config *chip = dev->chip_info;
|
|
||||||
u16 pmbase = pci_read_config16(dev, 0x40) & 0xfffe;
|
|
||||||
|
|
||||||
fadt->sci_int = 0x9;
|
fadt->sci_int = 0x9;
|
||||||
|
|
||||||
|
@ -46,8 +43,6 @@ void acpi_fill_fadt(acpi_fadt_t *fadt)
|
||||||
fadt->flags |= (ACPI_FADT_WBINVD | ACPI_FADT_C1_SUPPORTED
|
fadt->flags |= (ACPI_FADT_WBINVD | ACPI_FADT_C1_SUPPORTED
|
||||||
| ACPI_FADT_SLEEP_BUTTON | ACPI_FADT_S4_RTC_WAKE
|
| ACPI_FADT_SLEEP_BUTTON | ACPI_FADT_S4_RTC_WAKE
|
||||||
| ACPI_FADT_PLATFORM_CLOCK | ACPI_FADT_C2_MP_SUPPORTED);
|
| ACPI_FADT_PLATFORM_CLOCK | ACPI_FADT_C2_MP_SUPPORTED);
|
||||||
if (chip->docking_supported)
|
|
||||||
fadt->flags |= ACPI_FADT_DOCKING_SUPPORTED;
|
|
||||||
|
|
||||||
fadt->x_pm1a_evt_blk.space_id = ACPI_ADDRESS_SPACE_IO;
|
fadt->x_pm1a_evt_blk.space_id = ACPI_ADDRESS_SPACE_IO;
|
||||||
fadt->x_pm1a_evt_blk.bit_width = 32;
|
fadt->x_pm1a_evt_blk.bit_width = 32;
|
||||||
|
|
Loading…
Reference in New Issue