drivers/intel/gma/opregion: migrate from nb/common
Migrate opregion code from northbridge/intel/common to drivers/intel/gma in preparation for consolidation with soc/intel/common opregion code. Rename init_igd_opregion() for clarity and disambiguation with other implementations. Change-Id: I2d0bae98f04dbe7e896ca34e15f24d29b6aa2ed6 Signed-off-by: Matt DeVillier <matt.devillier@gmail.com> Reviewed-on: https://review.coreboot.org/20582 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Rudolph <siro@das-labor.org>
This commit is contained in:
committed by
Martin Roth
parent
44d399c394
commit
ebe08e0ee3
@@ -24,7 +24,7 @@
|
||||
#include <drivers/intel/gma/i915_reg.h>
|
||||
#include <drivers/intel/gma/i915.h>
|
||||
#include <cpu/intel/haswell/haswell.h>
|
||||
#include <northbridge/intel/common/gma_opregion.h>
|
||||
#include <drivers/intel/gma/opregion.h>
|
||||
#include <southbridge/intel/lynxpoint/nvs.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
@@ -534,7 +534,7 @@ gma_write_acpi_tables(struct device *const dev,
|
||||
igd_opregion_t *opregion = (igd_opregion_t *)current;
|
||||
global_nvs_t *gnvs;
|
||||
|
||||
if (init_igd_opregion(opregion) != CB_SUCCESS)
|
||||
if (intel_gma_init_igd_opregion(opregion) != CB_SUCCESS)
|
||||
return current;
|
||||
|
||||
current += sizeof(igd_opregion_t);
|
||||
|
Reference in New Issue
Block a user