summaryrefslogtreecommitdiff
path: root/src/soc/intel
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel')
-rw-r--r--src/soc/intel/fsp_baytrail/northcluster.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/soc/intel/fsp_baytrail/northcluster.c b/src/soc/intel/fsp_baytrail/northcluster.c
index 416746d79e..797039a27e 100644
--- a/src/soc/intel/fsp_baytrail/northcluster.c
+++ b/src/soc/intel/fsp_baytrail/northcluster.c
@@ -87,15 +87,10 @@ uint32_t nc_read_top_of_low_memory(void)
static int get_pcie_bar(u32 *base)
{
- struct device *dev;
u32 pciexbar_reg;
*base = 0;
- dev = pcidev_on_root(0, 0);
- if (!dev)
- return 0;
-
pciexbar_reg = iosf_bunit_read(BUNIT_MMCONF_REG);
if (!(pciexbar_reg & (1 << 0)))