summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2015-07-23 11:02:31 -0300
committerStefano Babic <sbabic@denx.de>2015-07-26 12:36:10 +0200
commit6731bc8db4fe644b008e9b844aee043c6063f8af (patch)
treebd70078a4e00075ffec80c3891fcd2c4df9b2a4b /board
parent6d551f2705e48942ef3b20c0d4a5042740781844 (diff)
downloadu-boot-imx-6731bc8db4fe644b008e9b844aee043c6063f8af.zip
u-boot-imx-6731bc8db4fe644b008e9b844aee043c6063f8af.tar.gz
u-boot-imx-6731bc8db4fe644b008e9b844aee043c6063f8af.tar.bz2
cgtqmx6eval: Add SATA support
Add SATA support. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'board')
-rw-r--r--board/congatec/cgtqmx6eval/cgtqmx6eval.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/board/congatec/cgtqmx6eval/cgtqmx6eval.c b/board/congatec/cgtqmx6eval/cgtqmx6eval.c
index e0d8d34..7de6460 100644
--- a/board/congatec/cgtqmx6eval/cgtqmx6eval.c
+++ b/board/congatec/cgtqmx6eval/cgtqmx6eval.c
@@ -15,6 +15,7 @@
#include <asm/arch/mx6-pins.h>
#include <asm/gpio.h>
#include <asm/imx-common/iomux-v3.h>
+#include <asm/imx-common/sata.h>
#include <asm/imx-common/boot_mode.h>
#include <asm/imx-common/mxc_i2c.h>
#include <asm/arch/mxc_hdmi.h>
@@ -450,6 +451,10 @@ int board_init(void)
setup_i2c(1, CONFIG_SYS_I2C_SPEED, 0x7f, &i2c_pad_info1);
+#ifdef CONFIG_CMD_SATA
+ setup_sata();
+#endif
+
return 0;
}