From 1172e258bf4666ca3b0ccdf31f028772b9a70673 Mon Sep 17 00:00:00 2001 From: Corentin Guillevic Date: Fri, 24 Mar 2023 10:54:19 +0100 Subject: [PATCH] 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 --- drivers/spi/Kconfig | 1 + 1 file changed, 1 insertion(+) 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 -- 2.39.5