mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-11-03 21:48:15 +00:00 
			
		
		
		
	sandbox: Don't use PCI in SPL
PCI is not supported in SPL for sandbox, so avoid using it. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
		
							parent
							
								
									f4289cbd8a
								
							
						
					
					
						commit
						a7d9caecd7
					
				@ -57,7 +57,7 @@ int cleanup_before_linux_select(int flags)
 | 
			
		||||
 | 
			
		||||
void *map_physmem(phys_addr_t paddr, unsigned long len, unsigned long flags)
 | 
			
		||||
{
 | 
			
		||||
#ifdef CONFIG_PCI
 | 
			
		||||
#if defined(CONFIG_PCI) && !defined(CONFIG_SPL_BUILD)
 | 
			
		||||
	unsigned long plen = len;
 | 
			
		||||
	void *ptr;
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -8,5 +8,7 @@
 | 
			
		||||
#
 | 
			
		||||
 | 
			
		||||
obj-y	+= interrupts.o
 | 
			
		||||
ifndef CONFIG_SPL_BUILD
 | 
			
		||||
obj-$(CONFIG_PCI)	+= pci_io.o
 | 
			
		||||
endif
 | 
			
		||||
obj-$(CONFIG_CMD_BOOTM) += bootm.o
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user