nb/intel/broadwell: Move size_of_dnvs() to southbridge
Device NVS is only used in southbridge code. This change is non-reproducible. Change-Id: I60ce9a80d6e3e0ce0c13037d4caae473d3d092a9 Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/91402 Reviewed-by: Matt DeVillier <matt.devillier@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
35694d2ea4
commit
958bc5cdff
3 changed files with 11 additions and 7 deletions
|
|
@ -1,13 +1,11 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
|
||||
#include <acpi/acpi.h>
|
||||
#include <acpi/acpi_gnvs.h>
|
||||
#include <arch/ioapic.h>
|
||||
#include <console/console.h>
|
||||
#include <device/device.h>
|
||||
#include <device/pci_ops.h>
|
||||
#include <soc/acpi.h>
|
||||
#include <soc/device_nvs.h>
|
||||
#include <soc/pci_devs.h>
|
||||
#include <soc/systemagent.h>
|
||||
#include <types.h>
|
||||
|
|
@ -87,8 +85,3 @@ unsigned long northbridge_write_acpi_tables(const struct device *const dev,
|
|||
|
||||
return current;
|
||||
}
|
||||
|
||||
size_t size_of_dnvs(void)
|
||||
{
|
||||
return sizeof(struct device_nvs);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@ ifeq ($(CONFIG_SOUTHBRIDGE_INTEL_WILDCATPOINT),y)
|
|||
|
||||
bootblock-y += bootblock.c
|
||||
|
||||
ramstage-y += acpi.c
|
||||
ramstage-y += adsp.c
|
||||
romstage-y += early_pch.c
|
||||
ramstage-$(CONFIG_ELOG) += elog.c
|
||||
|
|
|
|||
10
src/southbridge/intel/wildcatpoint/acpi.c
Normal file
10
src/southbridge/intel/wildcatpoint/acpi.c
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
|
||||
#include <acpi/acpi_gnvs.h>
|
||||
#include <soc/device_nvs.h>
|
||||
#include <types.h>
|
||||
|
||||
size_t size_of_dnvs(void)
|
||||
{
|
||||
return sizeof(struct device_nvs);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue