diff options
author | Subrata Banik <subrata.banik@intel.com> | 2017-11-09 12:16:36 +0530 |
---|---|---|
committer | Aaron Durbin <adurbin@chromium.org> | 2017-11-11 18:19:31 +0000 |
commit | 09564fce556558dfe9c14dd756513545ffeb1914 (patch) | |
tree | d1efa710c16026bc310115b7a70d2b1d2cdf3be5 /src/soc/intel/skylake/gspi.c | |
parent | 6c4b5916fcd4844410a709320ab7bf5a06a45596 (diff) | |
download | coreboot-09564fce556558dfe9c14dd756513545ffeb1914.tar.xz |
soc/intel/{cannonlake,skylake}: Add _soc_ prefix in spi soc routine
This ensures that function callback into the SoC code.
Change-Id: Idc16d315ba25d17a2ab537fcdf0c2b51c8802a67
Signed-off-by: Subrata Banik <subrata.banik@intel.com>
Reviewed-on: https://review.coreboot.org/22392
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/soc/intel/skylake/gspi.c')
-rw-r--r-- | src/soc/intel/skylake/gspi.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/soc/intel/skylake/gspi.c b/src/soc/intel/skylake/gspi.c index eef5433826..252be7771c 100644 --- a/src/soc/intel/skylake/gspi.c +++ b/src/soc/intel/skylake/gspi.c @@ -17,6 +17,7 @@ #include <assert.h> #include <device/device.h> #include <intelblocks/gspi.h> +#include <intelblocks/spi.h> #include <soc/iomap.h> #include "chip.h" @@ -66,5 +67,5 @@ int gspi_soc_bus_to_devfn(unsigned int gspi_bus) if (gspi_bus >= CONFIG_SOC_INTEL_COMMON_BLOCK_GSPI_MAX) return -1; - return spi_bus_to_devfn(GSPI_TO_SPI_BUS(gspi_bus)); + return spi_soc_bus_to_devfn(GSPI_TO_SPI_BUS(gspi_bus)); } |