Yoshihiro Shimoda | 4ac8918 | 2014-07-09 10:08:52 +0900 | [diff] [blame] | 1 | /* |
| 2 | * drivers/usb/host/xhci-rcar.h |
| 3 | * |
| 4 | * Copyright (C) 2014 Renesas Electronics Corporation |
| 5 | * |
| 6 | * This program is free software; you can redistribute it and/or |
| 7 | * modify it under the terms of the GNU General Public License |
| 8 | * version 2 as published by the Free Software Foundation. |
| 9 | */ |
| 10 | |
| 11 | #ifndef _XHCI_RCAR_H |
| 12 | #define _XHCI_RCAR_H |
| 13 | |
Yoshihiro Shimoda | 9bf9d9d | 2015-11-24 13:09:51 +0200 | [diff] [blame] | 14 | #define XHCI_RCAR_FIRMWARE_NAME_V1 "r8a779x_usb3_v1.dlmem" |
Yoshihiro Shimoda | 526a240 | 2015-11-24 13:09:53 +0200 | [diff] [blame] | 15 | #define XHCI_RCAR_FIRMWARE_NAME_V2 "r8a779x_usb3_v2.dlmem" |
Yoshihiro Shimoda | 9bf9d9d | 2015-11-24 13:09:51 +0200 | [diff] [blame] | 16 | |
Yoshihiro Shimoda | 4ac8918 | 2014-07-09 10:08:52 +0900 | [diff] [blame] | 17 | #if IS_ENABLED(CONFIG_USB_XHCI_RCAR) |
| 18 | void xhci_rcar_start(struct usb_hcd *hcd); |
| 19 | int xhci_rcar_init_quirk(struct usb_hcd *hcd); |
| 20 | #else |
| 21 | static inline void xhci_rcar_start(struct usb_hcd *hcd) |
| 22 | { |
| 23 | } |
| 24 | |
| 25 | static inline int xhci_rcar_init_quirk(struct usb_hcd *hcd) |
| 26 | { |
| 27 | return 0; |
| 28 | } |
| 29 | #endif |
| 30 | #endif /* _XHCI_RCAR_H */ |