sb/intel/i82801gx: drop IGD-related NVS variables
NDID/DID entries are no longer used by the GMA SSDT generator, so drop them. SSDT generation will be simplified in a subsequent commit. Change-Id: I51a11e7ed6686ab67dac3f02097457ea9c6a7e6a Signed-off-by: Matt DeVillier <matt.devillier@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/39953 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
@@ -30,7 +30,6 @@
|
||||
#include <arch/smp/mpspec.h>
|
||||
#include <cbmem.h>
|
||||
#include <string.h>
|
||||
#include <drivers/intel/gma/i915.h>
|
||||
#include <southbridge/intel/common/acpi_pirq_gen.h>
|
||||
#include <southbridge/intel/common/pmbase.h>
|
||||
#include <southbridge/intel/common/spi.h>
|
||||
@@ -642,8 +641,6 @@ static void southbridge_inject_dsdt(struct device *dev)
|
||||
global_nvs_t *gnvs = cbmem_add(CBMEM_ID_ACPI_GNVS, sizeof(*gnvs));
|
||||
|
||||
if (gnvs) {
|
||||
const struct i915_gpu_controller_info *gfx = intel_gma_get_controller_info();
|
||||
|
||||
memset(gnvs, 0, sizeof(*gnvs));
|
||||
|
||||
gnvs->apic = 1;
|
||||
@@ -651,11 +648,6 @@ static void southbridge_inject_dsdt(struct device *dev)
|
||||
|
||||
acpi_create_gnvs(gnvs);
|
||||
|
||||
if (gfx) {
|
||||
gnvs->ndid = gfx->ndid;
|
||||
memcpy(gnvs->did, gfx->did, sizeof(gnvs->did));
|
||||
}
|
||||
|
||||
/* And tell SMI about it */
|
||||
smm_setup_structures(gnvs, NULL, NULL);
|
||||
|
||||
|
Reference in New Issue
Block a user