soc/intel/fsp_broadwell_de: Fix use of config_of()
Change-Id: I96d423720fbe67c067373436ad250edf37939e99 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/34547 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Werner Zeh <werner.zeh@siemens.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
This commit is contained in:
parent
b28658995d
commit
c9c80c6907
|
@ -17,12 +17,14 @@
|
|||
#include <device/pci_ids.h>
|
||||
#include <device/pci_ops.h>
|
||||
#include <soc/intel/fsp_broadwell_de/chip.h>
|
||||
#include <soc/pci_devs.h>
|
||||
|
||||
#define DEVCTL2 0xb8
|
||||
|
||||
static void iou_init(struct device *dev)
|
||||
{
|
||||
const config_t *config = config_of(dev);
|
||||
/* Use config from device always present in static devicetree. */
|
||||
const config_t *config = config_of_path(SOC_DEV_FUNC);
|
||||
u16 devctl2;
|
||||
|
||||
/* pcie completion timeout
|
||||
|
|
Loading…
Reference in New Issue