mirror of
https://github.com/u-boot/u-boot.git
synced 2024-12-23 03:33:25 +08: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>
63 lines
1.6 KiB
C
63 lines
1.6 KiB
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* Copyright (C) 2015-2016 Marvell International Ltd.
|
|
*/
|
|
|
|
#ifndef _COMPHY_DATA_H_
|
|
#define _COMPHY_DATA_H_
|
|
|
|
#define PHY_SPEED_1_25G 0
|
|
#define PHY_SPEED_1_5G 1
|
|
#define PHY_SPEED_2_5G 2
|
|
#define PHY_SPEED_3G 3
|
|
#define PHY_SPEED_3_125G 4
|
|
#define PHY_SPEED_5G 5
|
|
#define PHY_SPEED_5_15625G 6
|
|
#define PHY_SPEED_6G 7
|
|
#define PHY_SPEED_6_25G 8
|
|
#define PHY_SPEED_10_3125G 9
|
|
#define PHY_SPEED_MAX 10
|
|
#define PHY_SPEED_INVALID 0xff
|
|
|
|
#define PHY_TYPE_UNCONNECTED 0
|
|
#define PHY_TYPE_PEX0 1
|
|
#define PHY_TYPE_PEX1 2
|
|
#define PHY_TYPE_PEX2 3
|
|
#define PHY_TYPE_PEX3 4
|
|
#define PHY_TYPE_SATA0 5
|
|
#define PHY_TYPE_SATA1 6
|
|
#define PHY_TYPE_SATA2 7
|
|
#define PHY_TYPE_SATA3 8
|
|
#define PHY_TYPE_SGMII0 9
|
|
#define PHY_TYPE_SGMII1 10
|
|
#define PHY_TYPE_SGMII2 11
|
|
#define PHY_TYPE_SGMII3 12
|
|
#define PHY_TYPE_QSGMII 13
|
|
#define PHY_TYPE_USB3_HOST0 14
|
|
#define PHY_TYPE_USB3_HOST1 15
|
|
#define PHY_TYPE_USB3_DEVICE 16
|
|
#define PHY_TYPE_XAUI0 17
|
|
#define PHY_TYPE_XAUI1 18
|
|
#define PHY_TYPE_XAUI2 19
|
|
#define PHY_TYPE_XAUI3 20
|
|
#define PHY_TYPE_RXAUI0 21
|
|
#define PHY_TYPE_RXAUI1 22
|
|
#define PHY_TYPE_SFI 23
|
|
#define PHY_TYPE_IGNORE 24
|
|
#define PHY_TYPE_MAX 25
|
|
#define PHY_TYPE_INVALID 0xff
|
|
|
|
#define PHY_POLARITY_NO_INVERT 0
|
|
#define PHY_POLARITY_TXD_INVERT 1
|
|
#define PHY_POLARITY_RXD_INVERT 2
|
|
#define PHY_POLARITY_ALL_INVERT \
|
|
(PHY_POLARITY_TXD_INVERT | PHY_POLARITY_RXD_INVERT)
|
|
|
|
#define UTMI_PHY_TO_USB3_HOST0 0
|
|
#define UTMI_PHY_TO_USB3_HOST1 1
|
|
#define UTMI_PHY_TO_USB3_DEVICE0 2
|
|
#define UTMI_PHY_INVALID 0xff
|
|
|
|
#endif /* _COMPHY_DATA_H_ */
|
|
|