From mboxrd@z Thu Jan 1 00:00:00 1970 From: Roger Quadros Date: Thu, 7 Nov 2013 14:24:16 +0200 Subject: [U-Boot] [PATCH 4/5] ARM: OMAP5: Add SATA platform glue In-Reply-To: <527ABE95.40202@ti.com> References: <1383749246-30895-1-git-send-email-rogerq@ti.com> <1383749246-30895-5-git-send-email-rogerq@ti.com> <527ABE95.40202@ti.com> Message-ID: <527B8670.50103@ti.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 11/07/2013 12:11 AM, Tom Rini wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 11/06/2013 09:47 AM, Roger Quadros wrote: >> Add platform glue logic for the SATA controller. >> >> Signed-off-by: Roger Quadros > [snip] >> diff --git a/arch/arm/cpu/armv7/omap-common/Makefile b/arch/arm/cpu/armv7/omap-common/Makefile >> index 6e4a0f0..0535b62 100644 >> --- a/arch/arm/cpu/armv7/omap-common/Makefile >> +++ b/arch/arm/cpu/armv7/omap-common/Makefile >> @@ -23,6 +23,9 @@ endif >> >> ifneq ($(CONFIG_OMAP54XX),) >> COBJS += pipe3-phy.o >> +ifdef CONFIG_SCSI_AHCI_PLAT >> +COBJS += sata.o >> +endif > > This should be: > COBJS-$(CONFIG_SCSI_AHCI_PLAT) += sata.o, or obj-... with the recent changes. OK. > >> endif >> >> ifeq ($(CONFIG_OMAP34XX),) >> diff --git a/arch/arm/cpu/armv7/omap-common/sata.c b/arch/arm/cpu/armv7/omap-common/sata.c >> new file mode 100644 >> index 0000000..eb079c3 >> --- /dev/null >> +++ b/arch/arm/cpu/armv7/omap-common/sata.c > [snip] >> +#if defined(CONFIG_SCSI_AHCI_PLAT) > > The file already depends on this symbol to be built at all. Right. cheers, -roger