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.guille...@smile.fr>
---

 drivers/spi/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git drivers/spi/Kconfig drivers/spi/Kconfig
index c6900f449d..2dd610ae69 100644
--- drivers/spi/Kconfig
+++ drivers/spi/Kconfig
@@ -555,6 +555,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
-- 
2.39.2

Reply via email to