diff options
author | Joris Offouga <offougajoris@gmail.com> | 2019-06-11 15:08:50 +0300 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2019-07-19 21:14:50 +0300 |
commit | e4258ddd595a5c4e46317c91807a59750916f707 (patch) | |
tree | ebc97387f9b4fda1940968d82dbc094ceac0f9f6 /board | |
parent | 9ac5dda519b297af683465bf169c7e5869c72b47 (diff) | |
download | u-boot-e4258ddd595a5c4e46317c91807a59750916f707.tar.xz |
pico-imx7d: Enable DM_USB
This patch enable usb support with device-tree
Signed-off-by: Joris Offouga <offougajoris@gmail.com>
Reviewed-by: Jun Nie <jun.nie@linaro.org>
Diffstat (limited to 'board')
-rw-r--r-- | board/technexion/pico-imx7d/pico-imx7d.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/board/technexion/pico-imx7d/pico-imx7d.c b/board/technexion/pico-imx7d/pico-imx7d.c index e3d75e549a..216475c8de 100644 --- a/board/technexion/pico-imx7d/pico-imx7d.c +++ b/board/technexion/pico-imx7d/pico-imx7d.c @@ -16,7 +16,6 @@ #include <i2c.h> #include <miiphy.h> #include <netdev.h> -#include <usb.h> #include <power/pmic.h> #include <power/pfuze3000_pmic.h> #include "../../freescale/common/pfuze.h" @@ -328,15 +327,3 @@ int board_ehci_hcd_init(int port) return 0; } -int board_usb_phy_mode(int port) -{ - switch (port) { - case 0: - return USB_INIT_DEVICE; - case 1: - return USB_INIT_HOST; - default: - return -EINVAL; - } - return 0; -} |