diff options
author | Ramon Fried <ramon.fried@gmail.com> | 2018-09-21 13:35:43 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-09-30 13:00:35 -0400 |
commit | cd8c3aec7fe1aa8e72b1be24675e0de37a66ef6e (patch) | |
tree | eaf2612b25f13e8c5463d46675275d249906915a /board/qualcomm | |
parent | 95a077217b06cd8e4ad8cacb526bf430185dc0a3 (diff) | |
download | u-boot-cd8c3aec7fe1aa8e72b1be24675e0de37a66ef6e.tar.gz |
ehci: Replace board_prepare_usb with board_usb_init
Use standard board_usb_init() instead of the specific board_prepare_usb.
Signed-off-by: Ramon Fried <ramon.fried@gmail.com>
Diffstat (limited to 'board/qualcomm')
-rw-r--r-- | board/qualcomm/dragonboard410c/dragonboard410c.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/board/qualcomm/dragonboard410c/dragonboard410c.c b/board/qualcomm/dragonboard410c/dragonboard410c.c index 53e231e55a..e8a3ed0450 100644 --- a/board/qualcomm/dragonboard410c/dragonboard410c.c +++ b/board/qualcomm/dragonboard410c/dragonboard410c.c @@ -44,7 +44,7 @@ int dram_init_banksize(void) return 0; } -int board_prepare_usb(enum usb_init_type type) +int board_usb_init(int index, enum usb_init_type init) { static struct udevice *pmic_gpio; static struct gpio_desc hub_reset, usb_sel; @@ -93,7 +93,7 @@ int board_prepare_usb(enum usb_init_type type) } } - if (type == USB_INIT_HOST) { + if (init == USB_INIT_HOST) { /* Start USB Hub */ dm_gpio_set_dir_flags(&hub_reset, GPIOD_IS_OUT | GPIOD_IS_OUT_ACTIVE); |