]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
spi: Kconfig: add dependency on CONFIG_MPC85xx for FSL_ESPI entry
authorCorentin Guillevic <corentin.guillevic@smile.fr>
Fri, 24 Mar 2023 09:54:19 +0000 (10:54 +0100)
committerTom Rini <trini@konsulko.com>
Thu, 6 Apr 2023 23:10:08 +0000 (19:10 -0400)
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

index cdd2304aeb1931d77934215f77ea5f5abe0cbec9..b44565b86fce0f70945396f3114d30f29c921370 100644 (file)
@@ -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