Skip to contentSkip to conversation

MX6: fix sata compilation for i.MX6

PATCH New Stefano Babic 1 participant 1 message Dec 19, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 MX6: fix sata compilation for i.MX6

Commit 164d98466103a46b7c881149e92ec2a28a6375be breaks board with SATA support, because sata is not compiled.

---
 arch/arm/imx-common/Makefile |    2 +-
 arch/arm/imx-common/sata.c   |    1 +
 2 files changed, 2 insertions(+), 1 deletion(-)
arch/arm/imx-common/Makefile +1 -1
index 68f0f52..ee5c872 100644
@@ -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
arch/arm/imx-common/sata.c +1 -0
index 1b4c502..2e69486 100644
@@ -7,6 +7,7 @@
 #include <asm/imx-common/iomux-v3.h>
 #include <asm/arch/iomux.h>
 #include <asm/io.h>
+#include <asm/arch/clock.h>
 
 int setup_sata(void)
 {
Signature · 1 line
1.7.9.5