summaryrefslogtreecommitdiff
path: root/board/solidrun
diff options
context:
space:
mode:
authorPeter Robinson <pbrobinson@gmail.com>2017-07-01 18:44:03 +0100
committerStefano Babic <sbabic@denx.de>2017-07-12 09:44:22 +0200
commitff1815632563a826cfe49fc9496a36d00febb6e3 (patch)
tree33eaf54888edb9e9b7865acd50f2cc7613f9541b /board/solidrun
parentd8fab10cb48e42c6ba84925af058349dca46dfa0 (diff)
downloadu-boot-ff1815632563a826cfe49fc9496a36d00febb6e3.tar.gz
u-boot-ff1815632563a826cfe49fc9496a36d00febb6e3.tar.bz2
u-boot-ff1815632563a826cfe49fc9496a36d00febb6e3.zip
mx6cuboxi: Add support for sata
The Cubox-i and Hummingboard series of devices have an option of SATA on board, and depending on how the fuses are blown even the option to boot SPL from SATA. So enable support for it so it can be used to boot the OS from if people desire. Cc: Fabio Estevam <fabio.estevam@nxp.com> Signed-off-by: Peter Robinson <pbrobinson@gmail.com> Acked-by: Fabio Estevam <fabio.estevam@nxp.com>
Diffstat (limited to 'board/solidrun')
-rw-r--r--board/solidrun/mx6cuboxi/mx6cuboxi.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/board/solidrun/mx6cuboxi/mx6cuboxi.c b/board/solidrun/mx6cuboxi/mx6cuboxi.c
index 285588d80a..5c62216477 100644
--- a/board/solidrun/mx6cuboxi/mx6cuboxi.c
+++ b/board/solidrun/mx6cuboxi/mx6cuboxi.c
@@ -22,6 +22,7 @@
#include <linux/errno.h>
#include <asm/gpio.h>
#include <asm/imx-common/iomux-v3.h>
+#include <asm/imx-common/sata.h>
#include <asm/imx-common/video.h>
#include <mmc.h>
#include <fsl_esdhc.h>
@@ -314,6 +315,10 @@ int board_early_init_f(void)
ret = setup_display();
#endif
+#ifdef CONFIG_CMD_SATA
+ setup_sata();
+#endif
+
#ifdef CONFIG_USB_EHCI_MX6
setup_usb();
#endif