diff options
Diffstat (limited to 'firmware/target')
-rwxr-xr-x | firmware/target/coldfire/iaudio/x5/usb-x5.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/firmware/target/coldfire/iaudio/x5/usb-x5.c b/firmware/target/coldfire/iaudio/x5/usb-x5.c index 4f305010e2..3bd1a7a458 100755 --- a/firmware/target/coldfire/iaudio/x5/usb-x5.c +++ b/firmware/target/coldfire/iaudio/x5/usb-x5.c | |||
@@ -23,10 +23,9 @@ | |||
23 | 23 | ||
24 | void usb_init_device(void) | 24 | void usb_init_device(void) |
25 | { | 25 | { |
26 | and_l(~0x00000010, &GPIO_OUT); /* Self powered */ | 26 | or_l(0x00800010, &GPIO_OUT); /* RESET deasserted, VBUS powered */ |
27 | or_l(0x00800000, &GPIO_OUT); /* RESET deasserted */ | ||
28 | or_l(0x00800010, &GPIO_FUNCTION); | ||
29 | or_l(0x00800010, &GPIO_ENABLE); | 27 | or_l(0x00800010, &GPIO_ENABLE); |
28 | or_l(0x00800010, &GPIO_FUNCTION); | ||
30 | 29 | ||
31 | or_l(0x00800000, &GPIO1_FUNCTION); /* USB detect */ | 30 | or_l(0x00800000, &GPIO1_FUNCTION); /* USB detect */ |
32 | } | 31 | } |