MX6: fix sata compilation for i.MX6

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

Signed-off-by: Stefano Babic <sbabic@denx.de>
This commit is contained in:
Stefano Babic 2013-12-19 11:04:33 +01:00
parent ebaf6b26bc
commit f5514e47c4
2 changed files with 2 additions and 1 deletions

View 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

View 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)
{