mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-11-04 05:50:17 +00:00 
			
		
		
		
	Add a dummy PCI endpoint for sandbox. Supporting only a single function, it allows setting and reading header configuration. Signed-off-by: Ramon Fried <ramon.fried@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
		
			
				
	
	
		
			35 lines
		
	
	
		
			939 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			35 lines
		
	
	
		
			939 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
# SPDX-License-Identifier: GPL-2.0
 | 
						|
#
 | 
						|
# PCI Endpoint Support
 | 
						|
#
 | 
						|
 | 
						|
menu "PCI Endpoint"
 | 
						|
 | 
						|
config PCI_ENDPOINT
 | 
						|
	bool "PCI Endpoint Support"
 | 
						|
	depends on DM
 | 
						|
	help
 | 
						|
	   Enable this configuration option to support configurable PCI
 | 
						|
	   endpoints. This should be enabled if the platform has a PCI
 | 
						|
	   controllers that can operate in endpoint mode (as a device
 | 
						|
	   connected to PCI host or bridge).
 | 
						|
 | 
						|
config PCIE_CADENCE_EP
 | 
						|
	bool "Cadence PCIe endpoint controller"
 | 
						|
	depends on PCI_ENDPOINT
 | 
						|
	help
 | 
						|
	  Say Y here if you want to support the Cadence PCIe controller in
 | 
						|
	  endpoint mode. This PCIe controller may be embedded into many
 | 
						|
	  different vendors SoCs.
 | 
						|
 | 
						|
config PCI_SANDBOX_EP
 | 
						|
	bool "Sandbox PCIe endpoint controller"
 | 
						|
	depends on PCI_ENDPOINT
 | 
						|
	help
 | 
						|
	  Say Y here if you want to support the Sandbox PCIe controller in
 | 
						|
	  endpoint mode.
 | 
						|
	  The sandbox driver act as a dummy driver which stores and
 | 
						|
	  retrieves PCIe endpoint configuration as is.
 | 
						|
 | 
						|
endmenu
 |