[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 corentin.guillevic@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

On Fri, Mar 24, 2023 at 10:54:19AM +0100, Corentin Guillevic wrote:
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
Applied to u-boot/master, thanks!
participants (2)
-
Corentin Guillevic
-
Tom Rini