From ff1815632563a826cfe49fc9496a36d00febb6e3 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Sat, 1 Jul 2017 18:44:03 +0100 Subject: 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 Signed-off-by: Peter Robinson Acked-by: Fabio Estevam --- board/solidrun/mx6cuboxi/mx6cuboxi.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'board/solidrun') 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 #include #include +#include #include #include #include @@ -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 -- cgit v1.2.1