projects
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20cdea2
)
s5pc1xx: usb: remove unused functions
author
Minkyu Kang
<mk7.kang@samsung.com>
Fri, 26 Feb 2010 05:42:44 +0000
(14:42 +0900)
committer
Minkyu Kang
<mk7.kang@samsung.com>
Fri, 26 Feb 2010 05:42:44 +0000
(14:42 +0900)
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
cpu/arm_cortexa8/s5pc1xx/usb-hs-otg.c
patch
|
blob
|
history
diff --git
a/cpu/arm_cortexa8/s5pc1xx/usb-hs-otg.c
b/cpu/arm_cortexa8/s5pc1xx/usb-hs-otg.c
index
85df1ad
..
8cc6181
100644
(file)
--- a/
cpu/arm_cortexa8/s5pc1xx/usb-hs-otg.c
+++ b/
cpu/arm_cortexa8/s5pc1xx/usb-hs-otg.c
@@
-1436,20
+1436,6
@@
static void s5p_usb_set_descriptors(void)
otg.desc.ep2.bInterval = 0x0;
}
-static void s5p_usb_check_speed(USB_SPEED *speed)
-{
- u32 status;
-
- status = s5pc1xx_otg_read_reg(OTG_DSTS);
-
- *speed = (USB_SPEED)((status & 0x6) >> 1);
-}
-
-static int s5p_usb_check_setconf(void)
-{
- return otg.set_config;
-}
-
static void s5p_usb_set_opmode(USB_OPMODE mode)
{
otg.op_mode = mode;