util/autoport/bd82x6x.go: Fix includes
Fix include of nvs.h to reflect commit661ad4666c
(ACPI: Select ACPI_SOC_NVS only where suitable); and re-add <device/pci_ops.h>, removed in commit0aad0531dc
(util/autoport/bd82x6x.go: Drop unused includes), as the generated early_init.c uses pci_write_config16(). Signed-off-by: Nicholas Chin <nic.c3.14@gmail.com> Change-Id: Ic1e97cfa7dce0e4d25f7a37c28d3635bdbf6c2a5 Reviewed-on: https://review.coreboot.org/c/coreboot/+/58210 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
This commit is contained in:
parent
0c7a25069e
commit
87e0b5b1d7
|
@ -296,6 +296,7 @@ func (b bd82x6x) Scan(ctx Context, addr PCIDevData) {
|
||||||
|
|
||||||
sb.WriteString(`
|
sb.WriteString(`
|
||||||
#include <bootblock_common.h>
|
#include <bootblock_common.h>
|
||||||
|
#include <device/pci_ops.h>
|
||||||
#include <northbridge/intel/sandybridge/raminit_native.h>
|
#include <northbridge/intel/sandybridge/raminit_native.h>
|
||||||
#include <southbridge/intel/bd82x6x/pch.h>
|
#include <southbridge/intel/bd82x6x/pch.h>
|
||||||
|
|
||||||
|
@ -359,7 +360,7 @@ void mainboard_get_spd(spd_raw_data *spd, bool id_only)
|
||||||
|
|
||||||
Add_gpl(gnvs)
|
Add_gpl(gnvs)
|
||||||
gnvs.WriteString(`#include <acpi/acpi_gnvs.h>
|
gnvs.WriteString(`#include <acpi/acpi_gnvs.h>
|
||||||
#include <southbridge/intel/bd82x6x/nvs.h>
|
#include <soc/nvs.h>
|
||||||
|
|
||||||
/* FIXME: check this function. */
|
/* FIXME: check this function. */
|
||||||
void mainboard_fill_gnvs(struct global_nvs *gnvs)
|
void mainboard_fill_gnvs(struct global_nvs *gnvs)
|
||||||
|
|
Loading…
Reference in New Issue