summaryrefslogtreecommitdiff
path: root/src/soc/intel/common/block/cse
diff options
context:
space:
mode:
authorSubrata Banik <subrata.banik@intel.com>2017-03-05 12:37:00 +0530
committerMartin Roth <martinroth@google.com>2017-03-28 16:39:28 +0200
commit2ee54db24603f51738cbebd6d80c120f2b4db76d (patch)
tree32670a0d223cde958305c1b2288b0f09a9e5a3b0 /src/soc/intel/common/block/cse
parentfc4c7d8320d329d3712cb74e527dca4178f71bf8 (diff)
downloadcoreboot-2ee54db24603f51738cbebd6d80c120f2b4db76d.tar.xz
soc/pci_devs.h: Use consistent naming in soc/pci_devs.h
This patch to make common PCI device name between APL and SKL. Change-Id: I5e4c7502e9678c0a367e9c7a96cf848d5b24f68e Signed-off-by: Barnali Sarkar <barnali.sarkar@intel.com> Signed-off-by: Subrata Banik <subrata.banik@intel.com> Reviewed-on: https://review.coreboot.org/18576 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/soc/intel/common/block/cse')
-rw-r--r--src/soc/intel/common/block/cse/cse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/intel/common/block/cse/cse.c b/src/soc/intel/common/block/cse/cse.c
index 3808bd677e..64a20d8a7e 100644
--- a/src/soc/intel/common/block/cse/cse.c
+++ b/src/soc/intel/common/block/cse/cse.c
@@ -80,7 +80,7 @@ struct cse_device {
void heci_init(uintptr_t tempbar)
{
struct cse_device *cse = car_get_var_ptr(&g_cse);
- device_t dev = HECI1_DEV;
+ device_t dev = PCH_DEV_CSE;
u8 pcireg;
/* Assume it is already initialized, nothing else to do */
@@ -453,7 +453,7 @@ static void update_sec_bar(struct device *dev)
static void cse_set_resources(struct device *dev)
{
- if (dev->path.pci.devfn == HECI1_DEVFN)
+ if (dev->path.pci.devfn == PCH_DEVFN_CSE)
update_sec_bar(dev);
pci_dev_set_resources(dev);