mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-04 10:30: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>
22 lines
570 B
C
22 lines
570 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* Copyright 2010 Freescale Semiconductor, Inc.
|
|
*/
|
|
|
|
#ifndef __FSL_MPC83XX_SERDES_H
|
|
#define __FSL_MPC83XX_SERDES_H
|
|
|
|
#include <config.h>
|
|
|
|
#define FSL_SERDES_CLK_100 (0 << 28)
|
|
#define FSL_SERDES_CLK_125 (1 << 28)
|
|
#define FSL_SERDES_CLK_150 (3 << 28)
|
|
#define FSL_SERDES_PROTO_SATA 0
|
|
#define FSL_SERDES_PROTO_PEX 1
|
|
#define FSL_SERDES_PROTO_PEX_X2 2
|
|
#define FSL_SERDES_PROTO_SGMII 3
|
|
#define FSL_SERDES_VDD_1V 1
|
|
|
|
extern void fsl_setup_serdes(u32 offset, char proto, u32 rfcks, char vdd);
|
|
|
|
#endif /* __FSL_MPC83XX_SERDES_H */
|