summaryrefslogtreecommitdiffstats
path: root/board/warp
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2015-02-28 15:16:42 -0300
committerStefano Babic <sbabic@denx.de>2015-03-02 11:55:26 +0100
commit09ac7b5961396ffb8644e180180b33008e0b6b35 (patch)
treebe2b48a12eab9c0c0b4512f1e04070e6515d5ab2 /board/warp
parent16edd347f0e4e0c77c9a667855e3293b58bb3fda (diff)
downloadtalos-obmc-uboot-09ac7b5961396ffb8644e180180b33008e0b6b35.tar.gz
talos-obmc-uboot-09ac7b5961396ffb8644e180180b33008e0b6b35.zip
warp: Add USB Mass Storage support
With UMS support we are able to flash the eMMC from U-boot, which is very convenient. Add UMS support to make the eMMC flashing process easier. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'board/warp')
-rw-r--r--board/warp/warp.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/board/warp/warp.c b/board/warp/warp.c
index 3b275c2ce1..21ac5e7d74 100644
--- a/board/warp/warp.c
+++ b/board/warp/warp.c
@@ -21,6 +21,7 @@
#include <watchdog.h>
#include <fsl_esdhc.h>
#include <mmc.h>
+#include <usb.h>
DECLARE_GLOBAL_DATA_PTR;
@@ -82,6 +83,11 @@ int board_mmc_init(bd_t *bis)
return fsl_esdhc_initialize(bis, &usdhc_cfg[0]);
}
+int board_usb_phy_mode(int port)
+{
+ return USB_INIT_DEVICE;
+}
+
int board_early_init_f(void)
{
setup_iomux_uart();
OpenPOWER on IntegriCloud