cgtqmx6eval: Add SATA support
[oweals/u-boot.git] / board / congatec / cgtqmx6eval / cgtqmx6eval.c
index e0d8d34d8936e3820b087d620bb3999bb5d40c40..7de6460ca0b22be616c120ec59eed9a57be20623 100644 (file)
@@ -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;
 }