[PATCH] spi: Kconfig: add dependency on CONFIG_MPC85xx for FSL_ESPI entry

Corentin Guillevic corentin.guillevic at smile.fr
Fri Mar 24 10:54:19 CET 2023


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 at 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



More information about the U-Boot mailing list