|
@@ -14,6 +14,7 @@
|
|
#include <asm/errno.h>
|
|
#include <asm/errno.h>
|
|
#include <asm/gpio.h>
|
|
#include <asm/gpio.h>
|
|
#include <asm/imx-common/iomux-v3.h>
|
|
#include <asm/imx-common/iomux-v3.h>
|
|
|
|
+#include <asm/imx-common/sata.h>
|
|
#include <mmc.h>
|
|
#include <mmc.h>
|
|
#include <fsl_esdhc.h>
|
|
#include <fsl_esdhc.h>
|
|
#include <asm/arch/crm_regs.h>
|
|
#include <asm/arch/crm_regs.h>
|
|
@@ -240,6 +241,9 @@ int board_init(void)
|
|
/* address of boot parameters */
|
|
/* address of boot parameters */
|
|
gd->bd->bi_boot_params = PHYS_SDRAM + 0x100;
|
|
gd->bd->bi_boot_params = PHYS_SDRAM + 0x100;
|
|
|
|
|
|
|
|
+#ifdef CONFIG_CMD_SATA
|
|
|
|
+ setup_sata();
|
|
|
|
+#endif
|
|
return 0;
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
|