summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorentin Guillevic <corentin.guillevic@smile.fr>2023-03-24 10:54:19 +0100
committerTom Rini <trini@konsulko.com>2023-04-06 19:10:08 -0400
commit1172e258bf4666ca3b0ccdf31f028772b9a70673 (patch)
tree3ecad6cd4f694c2f630ccf3c8f85e5dec2c8e377
parent0e685058db92b780cb9f77f60d7305fbb0477ba8 (diff)
spi: Kconfig: add dependency on CONFIG_MPC85xx for FSL_ESPI entry
The Freescale ESPI driver (CONFIG_FSL_ESPI) relies to the MPC85xx platform (PowerPC) through arch/powerpc/include/asm/immap_85xx.h. The driver can't compile on another architecture/platform. Signed-off-by: Corentin Guillevic <corentin.guillevic@smile.fr>
-rw-r--r--drivers/spi/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
index cdd2304aeb1..b44565b86fc 100644
--- a/drivers/spi/Kconfig
+++ b/drivers/spi/Kconfig
@@ -573,6 +573,7 @@ endif # if DM_SPI
config FSL_ESPI
bool "Freescale eSPI driver"
+ depends on MPC85xx
imply SPI_FLASH_BAR
help
Enable the Freescale eSPI driver. This driver can be used to