summaryrefslogtreecommitdiff
path: root/board/balloon3/balloon3.c
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/balloon3/balloon3.c
parentea02b653c20413b41170ebaca141bd3ffbb200c8 (diff)
downloadu-boot-imx-bba679144d25b91bcd7befff5a96728a30875f54.zip
u-boot-imx-bba679144d25b91bcd7befff5a96728a30875f54.tar.gz
u-boot-imx-bba679144d25b91bcd7befff5a96728a30875f54.tar.bz2
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/balloon3/balloon3.c')
-rw-r--r--board/balloon3/balloon3.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/balloon3/balloon3.c b/board/balloon3/balloon3.c
index 19c0e02..04e0574 100644
--- a/board/balloon3/balloon3.c
+++ b/board/balloon3/balloon3.c
@@ -60,7 +60,7 @@ void dram_init_banksize(void)
}
#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((readl(UHCHR) | UHCHR_PCPL | UHCHR_PSPL) &
~(UHCHR_SSEP0 | UHCHR_SSEP1 | UHCHR_SSEP2 | UHCHR_SSE),
@@ -91,7 +91,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;
}