From: Christian Gmeiner Date: Wed, 22 Oct 2014 09:55:04 +0000 (+0200) Subject: ot1200: add sata support X-Git-Tag: v2015.01-rc1~35^2~26 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=3f97af5302ee15530411232b464d255eb2ff2ffb;p=oweals%2Fu-boot.git ot1200: add sata support One of the possible boot devices can be sata. Signed-off-by: Christian Gmeiner --- 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 #include #include +#include #include #include #include @@ -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; }