aboutsummaryrefslogtreecommitdiffstats
path: root/board/esd
diff options
context:
space:
mode:
authorTroy Kisky <troy.kisky@boundarydevices.com>2013-10-10 15:27:55 -0700
committerMarek Vasut <marex@denx.de>2013-10-20 23:45:26 +0200
commitbba679144d25b91bcd7befff5a96728a30875f54 (patch)
tree692fdc163ac28a2f523a2e6254fedaca0ad0b495 /board/esd
parentea02b653c20413b41170ebaca141bd3ffbb200c8 (diff)
downloadu-boot-midas-bba679144d25b91bcd7befff5a96728a30875f54.tar.gz
u-boot-midas-bba679144d25b91bcd7befff5a96728a30875f54.tar.bz2
u-boot-midas-bba679144d25b91bcd7befff5a96728a30875f54.zip
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>
Diffstat (limited to 'board/esd')
-rw-r--r--board/esd/apc405/apc405.c4
-rw-r--r--board/esd/pmc440/pmc440.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/board/esd/apc405/apc405.c b/board/esd/apc405/apc405.c
index 79341f5fdb..5cc1d0d9d6 100644
--- a/board/esd/apc405/apc405.c
+++ b/board/esd/apc405/apc405.c
@@ -429,7 +429,7 @@ void reset_phy(void)
}
#if defined(CONFIG_USB_OHCI_NEW) && defined(CONFIG_SYS_USB_OHCI_BOARD_INIT)
-int board_usb_init(int index, enum board_usb_init_type init)
+int board_usb_init(int index, enum usb_init_type init)
{
return 0;
}
@@ -454,7 +454,7 @@ int usb_board_stop(void)
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 usb_board_stop();
}
diff --git a/board/esd/pmc440/pmc440.c b/board/esd/pmc440/pmc440.c
index 44b86da380..88fc5f77b6 100644
--- a/board/esd/pmc440/pmc440.c
+++ b/board/esd/pmc440/pmc440.c
@@ -822,7 +822,7 @@ int bootstrap_eeprom_read (unsigned dev_addr, unsigned offset,
}
#if defined(CONFIG_USB_OHCI_NEW) && defined(CONFIG_SYS_USB_OHCI_BOARD_INIT)
-int board_usb_init(int index, enum board_usb_init_type init)
+int board_usb_init(int index, enum usb_init_type init)
{
char *act = getenv("usbact");
int i;
@@ -846,7 +846,7 @@ int usb_board_stop(void)
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 usb_board_stop();
}