Skip to contentSkip to conversation

ot1200: add sata support

PATCH New Christian Gmeiner 2 participants 2 messages Oct 22, 2014 – Oct 23, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ot1200: add sata support

One of the possible boot devices can be sata.

---
 board/bachmann/ot1200/ot1200.c | 5 +++++
 1 file changed, 5 insertions(+)
board/bachmann/ot1200/ot1200.c +5 -0
index 0d5ede5..6d51231 100644
@@ -12,6 +12,7 @@
 #include <malloc.h>
 #include <asm/arch/mx6-pins.h>
 #include <asm/imx-common/iomux-v3.h>
+#include <asm/imx-common/sata.h>
 #include <asm/imx-common/mxc_i2c.h>
 #include <asm/imx-common/boot_mode.h>
 #include <asm/arch/crm_regs.h>
@@ -225,6 +226,10 @@ int board_init(void)
 	/* enable ecspi3 clocks */
 	enable_cspi_clock(1, 2);
 
+#ifdef CONFIG_CMD_SATA
+	setup_sata();
+#endif
+
 	return 0;
 }
 
Signature · 1 line
1.9.3
#1 lore raw

PATCH 1/1 ot1200: add sata support

Hi Christian,

Quoted 4 lines · Christian Gmeiner

One of the possible boot devices can be sata.

---

Applied to u-boot-imx, thanks !

Best regards,
Stefano Babic

Quoted 1 line
Signature · 5 lines
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================