diff options
author | Christian Gmeiner <christian.gmeiner@gmail.com> | 2014-10-22 11:55:04 +0200 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2014-10-23 10:04:26 +0200 |
commit | 3f97af5302ee15530411232b464d255eb2ff2ffb (patch) | |
tree | 37b089ab82c1c75e8d06218f113e7e73790d9c22 /board/bachmann/ot1200/ot1200.c | |
parent | 2e3a1f4d1d38eeb641b7f2e40b234372c45a44b5 (diff) |
ot1200: add sata support
One of the possible boot devices can be sata.
Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Diffstat (limited to 'board/bachmann/ot1200/ot1200.c')
-rw-r--r-- | board/bachmann/ot1200/ot1200.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/board/bachmann/ot1200/ot1200.c b/board/bachmann/ot1200/ot1200.c index 2962e0c1f4..acf95cb372 100644 --- a/board/bachmann/ot1200/ot1200.c +++ b/board/bachmann/ot1200/ot1200.c @@ -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> @@ -230,6 +231,10 @@ int board_init(void) /* enable ecspi3 clocks */ enable_cspi_clock(1, 2); +#ifdef CONFIG_CMD_SATA + setup_sata(); +#endif + return 0; } |