diff options
author | Jean-Jacques Hiblot <jjhiblot@ti.com> | 2017-04-07 11:42:01 (GMT) |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2017-04-15 01:38:57 (GMT) |
commit | fd138ca1bddc803ff1ec0da63e2c215668fecaeb (patch) | |
tree | 6c501b0059cc71e726d31f3941f892ad49f92137 /arch | |
parent | 01a072c6cf0539e7b8e78cce7f1f53884121646a (diff) | |
download | u-boot-fsl-qoriq-fd138ca1bddc803ff1ec0da63e2c215668fecaeb.tar.xz |
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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-omap2/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/Makefile b/arch/arm/mach-omap2/Makefile index e814eb0..aa3986d 100644 --- a/arch/arm/mach-omap2/Makefile +++ b/arch/arm/mach-omap2/Makefile @@ -29,9 +29,11 @@ obj-y += abb.o endif ifneq ($(CONFIG_OMAP54XX),) +ifeq ($(CONFIG_DM_SCSI),) obj-y += pipe3-phy.o obj-$(CONFIG_SCSI_AHCI_PLAT) += sata.o endif +endif ifeq ($(CONFIG_SYS_DCACHE_OFF),) obj-y += omap-cache.o |