From: Corentin Guillevic Date: Fri, 24 Mar 2023 09:54:19 +0000 (+0100) Subject: spi: Kconfig: add dependency on CONFIG_MPC85xx for FSL_ESPI entry X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=1172e258bf4666ca3b0ccdf31f028772b9a70673;p=u-boot.git 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 --- diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index cdd2304aeb..b44565b86f 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