]> git.sur5r.net Git - u-boot/commitdiff
MX6: fix sata compilation for i.MX6
authorStefano Babic <sbabic@denx.de>
Thu, 19 Dec 2013 10:04:33 +0000 (11:04 +0100)
committerStefano Babic <sbabic@denx.de>
Thu, 19 Dec 2013 10:04:33 +0000 (11:04 +0100)
Commit 164d98466103a46b7c881149e92ec2a28a6375be breaks
board with SATA support, because sata is not compiled.

Signed-off-by: Stefano Babic <sbabic@denx.de>
arch/arm/imx-common/Makefile
arch/arm/imx-common/sata.c

index 68f0f5276ae9b87234315ed002d909597271441f..ee5c872f51e6d49e3e878c4e8d93c9ac59bb805a 100644 (file)
@@ -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
index 1b4c5029afbaf2947692476cae7f3042582b6d0e..2e694866e051948beb2302080bfee5cbd6ced8c7 100644 (file)
@@ -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)
 {