diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2018-09-16 17:35:48 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2018-09-18 10:49:06 +0000 |
commit | 4a13126393150d99fbf930550f28e9c693f4bad3 (patch) | |
tree | 6c675870f27ef5690ba81ad2f1f7bafe46d94f64 /src/soc/intel/common/block/pcie | |
parent | e1e455bc96063b61ef97bd7894b0f38bd81f3941 (diff) | |
download | coreboot-4a13126393150d99fbf930550f28e9c693f4bad3.tar.xz |
soc/intel/common/block: Don't use device_t in ramstage
Use of device_t has been abandoned in ramstage.
Change-Id: If2d643eafea854563f56a7f867b7b492b6d09a19
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/28631
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/intel/common/block/pcie')
-rw-r--r-- | src/soc/intel/common/block/pcie/pcie.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/intel/common/block/pcie/pcie.c b/src/soc/intel/common/block/pcie/pcie.c index 4cd057d363..c4b266acc1 100644 --- a/src/soc/intel/common/block/pcie/pcie.c +++ b/src/soc/intel/common/block/pcie/pcie.c @@ -64,7 +64,7 @@ static void pch_pcie_init(struct device *dev) pci_write_config16(dev, PCI_SEC_STATUS, reg16); } -static void pcie_set_L1_ss_max_latency(device_t dev, unsigned int offset) +static void pcie_set_L1_ss_max_latency(struct device *dev, unsigned int offset) { /* Set max snoop and non-snoop latency for the SOC */ pci_write_config32(dev, offset, |