summaryrefslogtreecommitdiff
path: root/board/wandboard
diff options
context:
space:
mode:
authorGilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>2016-06-09 10:33:27 +0200
committerStefano Babic <sbabic@denx.de>2016-07-12 17:58:48 +0200
commite355eec79dd150d6f44e52357b5e805aed6ebc4a (patch)
tree2ca76d045ced713ab731c25334659c9017221e92 /board/wandboard
parent369012e7e96761c1ac4ccb0cd9052c6f56468082 (diff)
downloadu-boot-imx-e355eec79dd150d6f44e52357b5e805aed6ebc4a.zip
u-boot-imx-e355eec79dd150d6f44e52357b5e805aed6ebc4a.tar.gz
u-boot-imx-e355eec79dd150d6f44e52357b5e805aed6ebc4a.tar.bz2
wandboard: enable SATA with imx6q
Signed-off-by: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
Diffstat (limited to 'board/wandboard')
-rw-r--r--board/wandboard/wandboard.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/board/wandboard/wandboard.c b/board/wandboard/wandboard.c
index 4ce74cd..8340dd1 100644
--- a/board/wandboard/wandboard.c
+++ b/board/wandboard/wandboard.c
@@ -345,6 +345,12 @@ int board_early_init_f(void)
#if defined(CONFIG_VIDEO_IPUV3)
setup_display();
#endif
+#ifdef CONFIG_CMD_SATA
+ /* Only mx6q wandboard has SATA */
+ if (is_cpu_type(MXC_CPU_MX6Q))
+ setup_sata();
+#endif
+
return 0;
}