summaryrefslogtreecommitdiff
path: root/src/soc/intel/skylake/gspi.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel/skylake/gspi.c')
-rw-r--r--src/soc/intel/skylake/gspi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/intel/skylake/gspi.c b/src/soc/intel/skylake/gspi.c
index e04ae93b52..eef5433826 100644
--- a/src/soc/intel/skylake/gspi.c
+++ b/src/soc/intel/skylake/gspi.c
@@ -22,9 +22,9 @@
const struct gspi_cfg *gspi_get_soc_cfg(void)
{
- ROMSTAGE_CONST struct soc_intel_skylake_config *config;
+ DEVTREE_CONST struct soc_intel_skylake_config *config;
int devfn = SA_DEVFN_ROOT;
- ROMSTAGE_CONST struct device *dev = dev_find_slot(0, devfn);
+ DEVTREE_CONST struct device *dev = dev_find_slot(0, devfn);
if (!dev || !dev->chip_info) {
printk(BIOS_ERR, "%s: Could not find SoC devicetree config!\n",