summaryrefslogtreecommitdiff
path: root/board/udoo
diff options
context:
space:
mode:
authorGiuseppe Pagano <giuseppe.pagano@seco.com>2013-11-28 12:32:49 +0100
committerStefano Babic <sbabic@denx.de>2013-12-17 18:14:21 +0100
commit98d012292495fff1662b107e188bbbb17e32a0f7 (patch)
tree2eeb635fe6dd1268453ba5696462873570508ee0 /board/udoo
parent164d98466103a46b7c881149e92ec2a28a6375be (diff)
udoo: Add SATA support on uDoo Board.
Add SATA support on uDoo Board. Signed-off-by: Giuseppe Pagano <giuseppe.pagano@seco.com> CC: Stefano Babic <sbabic@denx.de> CC: Fabio Estevam <fabio.estevam@freescale.com>
Diffstat (limited to 'board/udoo')
-rw-r--r--board/udoo/udoo.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/board/udoo/udoo.c b/board/udoo/udoo.c
index 081d517f53c..e9236d444c8 100644
--- a/board/udoo/udoo.c
+++ b/board/udoo/udoo.c
@@ -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;
}