diff options
author | Giuseppe Pagano <giuseppe.pagano@seco.com> | 2013-11-28 12:32:48 +0100 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2013-12-17 18:12:14 +0100 |
commit | 164d98466103a46b7c881149e92ec2a28a6375be (patch) | |
tree | 138acc7e8cc9ce11bfb28f4d423bd63ad663bb24 /arch/arm/imx-common/Makefile | |
parent | b47abc36aaa4695ed50226ca1f3bd8f0b58bdaa6 (diff) | |
download | u-boot-imx-164d98466103a46b7c881149e92ec2a28a6375be.zip u-boot-imx-164d98466103a46b7c881149e92ec2a28a6375be.tar.gz u-boot-imx-164d98466103a46b7c881149e92ec2a28a6375be.tar.bz2 |
nitrogen6x: Move setup_sata to common part
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>
Diffstat (limited to 'arch/arm/imx-common/Makefile')
-rw-r--r-- | arch/arm/imx-common/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/imx-common/Makefile b/arch/arm/imx-common/Makefile index 2c80441..68f0f52 100644 --- a/arch/arm/imx-common/Makefile +++ b/arch/arm/imx-common/Makefile @@ -17,6 +17,9 @@ endif ifeq ($(SOC),$(filter $(SOC),mx6 mxs)) obj-y += misc.o endif +ifeq ($(SOC),$(filter $(SOC),mx6)) +objs-$(CONFIG_CMD_SATA) += sata.o +endif obj-$(CONFIG_CMD_BMODE) += cmd_bmode.o obj-$(CONFIG_CMD_HDMIDETECT) += cmd_hdmidet.o |