mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-02 17:41:08 +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>
25 lines
680 B
C
25 lines
680 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* Freescale USB PHY Register Definitions
|
|
*
|
|
*/
|
|
|
|
#ifndef __REGS_USBPHY_H__
|
|
#define __REGS_USBPHY_H__
|
|
|
|
#define USBPHY_CTRL 0x00000030
|
|
#define USBPHY_CTRL_SET 0x00000034
|
|
#define USBPHY_CTRL_CLR 0x00000038
|
|
#define USBPHY_CTRL_TOG 0x0000003C
|
|
#define USBPHY_PWD 0x00000000
|
|
#define USBPHY_TX 0x00000010
|
|
#define USBPHY_RX 0x00000020
|
|
#define USBPHY_DEBUG 0x00000050
|
|
|
|
#define USBPHY_CTRL_ENUTMILEVEL2 (1 << 14)
|
|
#define USBPHY_CTRL_ENUTMILEVEL3 (1 << 15)
|
|
#define USBPHY_CTRL_OTG_ID (1 << 27)
|
|
#define USBPHY_CTRL_CLKGATE (1 << 30)
|
|
#define USBPHY_CTRL_SFTRST (1 << 31)
|
|
|
|
#endif /* __REGS_USBPHY_H__ */
|