diff options
Diffstat (limited to 'chip/stm32/usb-stm32f3.c')
-rw-r--r-- | chip/stm32/usb-stm32f3.c | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/chip/stm32/usb-stm32f3.c b/chip/stm32/usb-stm32f3.c deleted file mode 100644 index 2376d00b41..0000000000 --- a/chip/stm32/usb-stm32f3.c +++ /dev/null @@ -1,27 +0,0 @@ -/* Copyright 2014 The Chromium OS Authors. All rights reserved. - * Use of this source code is governed by a BSD-style license that can be - * found in the LICENSE file. - * - * STM32F3 Family specific USB functionality - */ - -#include "usb-stm32f3.h" - -#include "system.h" -#include "usb_api.h" - -void usb_connect(void) -{ - /* USB is in use */ - disable_sleep(SLEEP_MASK_USB_DEVICE); - - usb_board_connect(); -} - -void usb_disconnect(void) -{ - usb_board_disconnect(); - - /* USB is off, so sleep whenever */ - enable_sleep(SLEEP_MASK_USB_DEVICE); -} |