xilinx: kconfig: Change Kconfig dependencies for Xilinx drivers
Zynq/ZynqMP/Versal IPs should be possible to called also from Microblaze in PL and vice versa. That's why change dependencies and do not limit enabling just for some platforms. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Reviewed-by: Heiko Schocher <hs@denx.de>
This commit is contained in:
		
							parent
							
								
									c8da6513c0
								
							
						
					
					
						commit
						664e16ce99
					
				|  | @ -381,8 +381,8 @@ config MVEBU_GPIO | |||
| 
 | ||||
| config ZYNQ_GPIO | ||||
| 	bool "Zynq GPIO driver" | ||||
| 	depends on DM_GPIO && (ARCH_ZYNQ || ARCH_ZYNQMP || ARCH_VERSAL) | ||||
| 	default y | ||||
| 	depends on DM_GPIO | ||||
| 	default y if ARCH_ZYNQ || ARCH_ZYNQMP || ARCH_VERSAL | ||||
| 	help | ||||
| 	  Supports GPIO access on Zynq SoC. | ||||
| 
 | ||||
|  |  | |||
|  | @ -88,7 +88,7 @@ config SYS_I2C_FSL | |||
| 
 | ||||
| config SYS_I2C_CADENCE | ||||
| 	tristate "Cadence I2C Controller" | ||||
| 	depends on DM_I2C && (ARCH_ZYNQ || ARM64) | ||||
| 	depends on DM_I2C | ||||
| 	help | ||||
| 	  Say yes here to select Cadence I2C Host Controller. This controller is | ||||
| 	  e.g. used by Xilinx Zynq. | ||||
|  |  | |||
|  | @ -653,7 +653,6 @@ config TEGRA124_MMC_DISABLE_EXT_LOOPBACK | |||
| 
 | ||||
| config MMC_SDHCI_ZYNQ | ||||
| 	bool "Arasan SDHCI controller support" | ||||
| 	depends on ARCH_ZYNQ || ARCH_ZYNQMP || ARCH_VERSAL | ||||
| 	depends on DM_MMC && OF_CONTROL && BLK | ||||
| 	depends on MMC_SDHCI | ||||
| 	help | ||||
|  |  | |||
|  | @ -519,7 +519,7 @@ config TULIP | |||
| 	  This driver supports DEC DC2114x Fast ethernet chips. | ||||
| 
 | ||||
| config XILINX_AXIEMAC | ||||
| 	depends on DM_ETH && (MICROBLAZE || ARCH_ZYNQ || ARCH_ZYNQMP) | ||||
| 	depends on DM_ETH | ||||
| 	select PHYLIB | ||||
| 	select MII | ||||
| 	bool "Xilinx AXI Ethernet" | ||||
|  | @ -527,7 +527,7 @@ config XILINX_AXIEMAC | |||
| 	  This MAC is present in Xilinx Microblaze, Zynq and ZynqMP SoCs. | ||||
| 
 | ||||
| config XILINX_EMACLITE | ||||
| 	depends on DM_ETH && (MICROBLAZE || ARCH_ZYNQ || ARCH_ZYNQMP || MIPS) | ||||
| 	depends on DM_ETH | ||||
| 	select PHYLIB | ||||
| 	select MII | ||||
| 	bool "Xilinx Ethernetlite" | ||||
|  | @ -535,7 +535,7 @@ config XILINX_EMACLITE | |||
| 	  This MAC is present in Xilinx Microblaze, Zynq and ZynqMP SoCs. | ||||
| 
 | ||||
| config ZYNQ_GEM | ||||
| 	depends on DM_ETH && (ARCH_ZYNQ || ARCH_ZYNQMP || ARCH_VERSAL) | ||||
| 	depends on DM_ETH | ||||
| 	select PHYLIB | ||||
| 	bool "Xilinx Ethernet GEM" | ||||
| 	help | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue