summaryrefslogtreecommitdiff
path: root/board/k+p
diff options
context:
space:
mode:
authorLukasz Majewski <lukma@denx.de>2019-04-04 12:26:51 +0200
committerStefano Babic <sbabic@denx.de>2019-04-25 17:03:25 +0200
commit414ba7cda3915d4ae163ebabc0aaf3459a280bbd (patch)
treeaadd13a4fd9bc2d06e19074a5d5a2631b529b8f4 /board/k+p
parente626fcb6e28b19544b6aed5bf6f0fe3014abe719 (diff)
ARM: Remove EHCI specific code from HSC|DDC board file
As EHCI on i.MX5 has been converted to driver model, the board specific code, necessary for VBUS USB power supply setup is not needed anymore. Signed-off-by: Lukasz Majewski <lukma@denx.de>
Diffstat (limited to 'board/k+p')
-rw-r--r--board/k+p/kp_imx53/kp_imx53.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/board/k+p/kp_imx53/kp_imx53.c b/board/k+p/kp_imx53/kp_imx53.c
index 3c7f652eec..b447e13461 100644
--- a/board/k+p/kp_imx53/kp_imx53.c
+++ b/board/k+p/kp_imx53/kp_imx53.c
@@ -17,7 +17,6 @@
#include <fsl_pmic.h>
#include "kp_id_rev.h"
-#define VBUS_PWR_EN IMX_GPIO_NR(7, 8)
#define BOOSTER_OFF IMX_GPIO_NR(2, 23)
#define LCD_BACKLIGHT IMX_GPIO_NR(1, 1)
#define KEY1 IMX_GPIO_NR(2, 26)
@@ -42,15 +41,6 @@ int dram_init_banksize(void)
return 0;
}
-#ifdef CONFIG_USB_EHCI_MX5
-int board_ehci_hcd_init(int port)
-{
- gpio_request(VBUS_PWR_EN, "VBUS_PWR_EN");
- gpio_direction_output(VBUS_PWR_EN, 1);
- return 0;
-}
-#endif
-
static int power_init(void)
{
struct udevice *dev;