
Hi Giuseppe,
On 28/11/2013 10:07, Giuseppe Pagano wrote:
Move setup_sata function definition from platform file nitrogen6x.c to arch/arm/imx-common/sata.c to avoid code duplication.
Signed-off-by: Giuseppe Pagano giuseppe.pagano@seco.com CC: Stefano Babic sbabic@denx.de CC: Fabio Estevam fabio.estevam@freescale.com CC: Eric Nelson eric.nelson@boundarydevices.com
diff --git a/arch/arm/imx-common/Makefile b/arch/arm/imx-common/Makefile index 727a052..2656f2d 100644 --- a/arch/arm/imx-common/Makefile +++ b/arch/arm/imx-common/Makefile @@ -21,6 +21,9 @@ endif ifeq ($(SOC),$(filter $(SOC),mx6 mxs)) COBJS-y += misc.o endif +ifeq ($(SOC),$(filter $(SOC),mx6)) +COBJS-$(CONFIG_CMD_SATA) += sata.o +endif
COBJS- was replaced by obj-
Best regards, Stefano