mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-25 20:43:32 +00:00
83d290c56f
When U-Boot started using SPDX tags we were among the early adopters and there weren't a lot of other examples to borrow from. So we picked the area of the file that usually had a full license text and replaced it with an appropriate SPDX-License-Identifier: entry. Since then, the Linux Kernel has adopted SPDX tags and they place it as the very first line in a file (except where shebangs are used, then it's second line) and with slightly different comment styles than us. In part due to community overlap, in part due to better tag visibility and in part for other minor reasons, switch over to that style. This commit changes all instances where we have a single declared license in the tag as both the before and after are identical in tag contents. There's also a few places where I found we did not have a tag and have introduced one. Signed-off-by: Tom Rini <trini@konsulko.com>
41 lines
1,013 B
C
41 lines
1,013 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/* include/dwc3-uboot.h
|
|
*
|
|
* Copyright (c) 2015 Texas Instruments Incorporated - http://www.ti.com
|
|
*
|
|
* Designware SuperSpeed USB uboot init
|
|
*/
|
|
|
|
#ifndef __DWC3_UBOOT_H_
|
|
#define __DWC3_UBOOT_H_
|
|
|
|
#include <linux/usb/otg.h>
|
|
|
|
struct dwc3_device {
|
|
unsigned long base;
|
|
enum usb_dr_mode dr_mode;
|
|
u32 maximum_speed;
|
|
unsigned tx_fifo_resize:1;
|
|
unsigned has_lpm_erratum;
|
|
u8 lpm_nyet_threshold;
|
|
unsigned is_utmi_l1_suspend;
|
|
u8 hird_threshold;
|
|
unsigned disable_scramble_quirk;
|
|
unsigned u2exit_lfps_quirk;
|
|
unsigned u2ss_inp3_quirk;
|
|
unsigned req_p1p2p3_quirk;
|
|
unsigned del_p1p2p3_quirk;
|
|
unsigned del_phy_power_chg_quirk;
|
|
unsigned lfps_filter_quirk;
|
|
unsigned rx_detect_poll_quirk;
|
|
unsigned dis_u3_susphy_quirk;
|
|
unsigned dis_u2_susphy_quirk;
|
|
unsigned tx_de_emphasis_quirk;
|
|
unsigned tx_de_emphasis;
|
|
int index;
|
|
};
|
|
|
|
int dwc3_uboot_init(struct dwc3_device *dev);
|
|
void dwc3_uboot_exit(int index);
|
|
void dwc3_uboot_handle_interrupt(int index);
|
|
#endif /* __DWC3_UBOOT_H_ */
|