arm: omap: sata: compile out board-level sata code when CONFIG_DM_SCSI is defined
When CONFIG_DM_SCSI is defined, the SATA initialization will be implemented in the scsi-uclass driver. Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
		
							parent
							
								
									01a072c6cf
								
							
						
					
					
						commit
						fd138ca1bd
					
				| 
						 | 
					@ -29,9 +29,11 @@ obj-y	+= abb.o
 | 
				
			||||||
endif
 | 
					endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
ifneq ($(CONFIG_OMAP54XX),)
 | 
					ifneq ($(CONFIG_OMAP54XX),)
 | 
				
			||||||
 | 
					ifeq ($(CONFIG_DM_SCSI),)
 | 
				
			||||||
obj-y	+= pipe3-phy.o
 | 
					obj-y	+= pipe3-phy.o
 | 
				
			||||||
obj-$(CONFIG_SCSI_AHCI_PLAT) += sata.o
 | 
					obj-$(CONFIG_SCSI_AHCI_PLAT) += sata.o
 | 
				
			||||||
endif
 | 
					endif
 | 
				
			||||||
 | 
					endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
ifeq ($(CONFIG_SYS_DCACHE_OFF),)
 | 
					ifeq ($(CONFIG_SYS_DCACHE_OFF),)
 | 
				
			||||||
obj-y	+= omap-cache.o
 | 
					obj-y	+= omap-cache.o
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue