From: Stefano Babic Date: Thu, 19 Dec 2013 10:04:33 +0000 (+0100) Subject: MX6: fix sata compilation for i.MX6 X-Git-Tag: v2014.01-rc3~9^2~47^2~15 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f5514e47c4086d342e81219bb9cbd8956961fa0e;p=oweals%2Fu-boot.git MX6: fix sata compilation for i.MX6 Commit 164d98466103a46b7c881149e92ec2a28a6375be breaks board with SATA support, because sata is not compiled. Signed-off-by: Stefano Babic --- diff --git a/arch/arm/imx-common/Makefile b/arch/arm/imx-common/Makefile index 68f0f5276a..ee5c872f51 100644 --- a/arch/arm/imx-common/Makefile +++ b/arch/arm/imx-common/Makefile @@ -18,7 +18,7 @@ ifeq ($(SOC),$(filter $(SOC),mx6 mxs)) obj-y += misc.o endif ifeq ($(SOC),$(filter $(SOC),mx6)) -objs-$(CONFIG_CMD_SATA) += sata.o +obj-$(CONFIG_CMD_SATA) += sata.o endif obj-$(CONFIG_CMD_BMODE) += cmd_bmode.o obj-$(CONFIG_CMD_HDMIDETECT) += cmd_hdmidet.o diff --git a/arch/arm/imx-common/sata.c b/arch/arm/imx-common/sata.c index 1b4c5029af..2e694866e0 100644 --- a/arch/arm/imx-common/sata.c +++ b/arch/arm/imx-common/sata.c @@ -7,6 +7,7 @@ #include #include #include +#include int setup_sata(void) {