summaryrefslogtreecommitdiff
path: root/src/soc/intel/apollolake
diff options
context:
space:
mode:
authorSubrata Banik <subrata.banik@intel.com>2017-03-29 13:36:26 +0530
committerMartin Roth <martinroth@google.com>2017-03-29 19:37:49 +0200
commiteb1bdd89dc32e03bb59965016deedf00239ea5cf (patch)
tree9cd2297944c2cf70977f7a923b8f32baace83dfc /src/soc/intel/apollolake
parentdeb9b03af9aff54a3dee390cbd5ee63b0b6fcc26 (diff)
downloadcoreboot-eb1bdd89dc32e03bb59965016deedf00239ea5cf.tar.xz
soc/intel/apollolake: Fix debug build booting issue
This patch fix apollolake devices unable to boot with coreboot debug image issue. Change-Id: I28943100ba19dec1e540fdbba1c1e110c6af1488 Signed-off-by: Subrata Banik <subrata.banik@intel.com> Reviewed-on: https://review.coreboot.org/19036 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Martin Roth <martinroth@google.com> Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/soc/intel/apollolake')
-rw-r--r--src/soc/intel/apollolake/pmutil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/intel/apollolake/pmutil.c b/src/soc/intel/apollolake/pmutil.c
index 7d3cb079ac..9e57b28abe 100644
--- a/src/soc/intel/apollolake/pmutil.c
+++ b/src/soc/intel/apollolake/pmutil.c
@@ -505,7 +505,7 @@ void pmc_gpe_init(void)
ROMSTAGE_CONST struct soc_intel_apollolake_config *config;
/* Look up the device in devicetree */
- ROMSTAGE_CONST struct device *dev = SA_DEV_ROOT;
+ ROMSTAGE_CONST struct device *dev = dev_find_slot(0, SA_DEVFN_ROOT);
if (!dev || !dev->chip_info) {
printk(BIOS_ERR, "BUG! Could not find SOC devicetree config\n");
return;