usb: rename board_usb_init_type to usb_init_type
This will be used by usb_lowlevel_init so it will no longer be used by only board specific functions. Move definition of enum usb_init_type higher in file so that it will be available for usb_low_level_init. Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
This commit is contained in:
@@ -67,7 +67,7 @@ int board_mmc_init(bd_t *bis)
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_CMD_USB
|
||||
int board_usb_init(int index, enum board_usb_init_type init)
|
||||
int board_usb_init(int index, enum usb_init_type init)
|
||||
{
|
||||
writel((UHCHR | UHCHR_PCPL | UHCHR_PSPL) &
|
||||
~(UHCHR_SSEP0 | UHCHR_SSEP1 | UHCHR_SSEP2 | UHCHR_SSE),
|
||||
@@ -98,7 +98,7 @@ int board_usb_init(int index, enum board_usb_init_type init)
|
||||
return 0;
|
||||
}
|
||||
|
||||
int board_usb_cleanup(int index, enum board_usb_init_type init)
|
||||
int board_usb_cleanup(int index, enum usb_init_type init)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user