]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/udoo/udoo.c
udoo: Add SATA support on uDoo Board.
[karo-tx-uboot.git] / board / udoo / udoo.c
index 081d517f53c2f80ef0b959f99ef0725aee647d69..e9236d444c848a955e863bf1a330a281a5839017 100644 (file)
@@ -14,6 +14,7 @@
 #include <asm/errno.h>
 #include <asm/gpio.h>
 #include <asm/imx-common/iomux-v3.h>
+#include <asm/imx-common/sata.h>
 #include <mmc.h>
 #include <fsl_esdhc.h>
 #include <asm/arch/crm_regs.h>
@@ -240,6 +241,9 @@ int board_init(void)
        /* address of boot parameters */
        gd->bd->bi_boot_params = PHYS_SDRAM + 0x100;
 
+#ifdef CONFIG_CMD_SATA
+       setup_sata();
+#endif
        return 0;
 }