mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-19 08:28:51 +09:00
![Tom Rini](/assets/img/avatar_default.png)
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>
45 lines
1.3 KiB
C
45 lines
1.3 KiB
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* Copyright 2017 Google, Inc
|
|
*/
|
|
|
|
#ifndef _ABI_MACH_ASPEED_AST2500_RESET_H_
|
|
#define _ABI_MACH_ASPEED_AST2500_RESET_H_
|
|
|
|
/*
|
|
* The values are intentionally layed out as flags in
|
|
* WDT reset parameter.
|
|
*/
|
|
|
|
#define AST_RESET_SOC 0
|
|
#define AST_RESET_CHIP 1
|
|
#define AST_RESET_CPU (1 << 1)
|
|
#define AST_RESET_ARM (1 << 2)
|
|
#define AST_RESET_COPROC (1 << 3)
|
|
#define AST_RESET_SDRAM (1 << 4)
|
|
#define AST_RESET_AHB (1 << 5)
|
|
#define AST_RESET_I2C (1 << 6)
|
|
#define AST_RESET_MAC1 (1 << 7)
|
|
#define AST_RESET_MAC2 (1 << 8)
|
|
#define AST_RESET_GCRT (1 << 9)
|
|
#define AST_RESET_USB20 (1 << 10)
|
|
#define AST_RESET_USB11_HOST (1 << 11)
|
|
#define AST_RESET_USB11_HID (1 << 12)
|
|
#define AST_RESET_VIDEO (1 << 13)
|
|
#define AST_RESET_HAC (1 << 14)
|
|
#define AST_RESET_LPC (1 << 15)
|
|
#define AST_RESET_SDIO (1 << 16)
|
|
#define AST_RESET_MIC (1 << 17)
|
|
#define AST_RESET_CRT2D (1 << 18)
|
|
#define AST_RESET_PWM (1 << 19)
|
|
#define AST_RESET_PECI (1 << 20)
|
|
#define AST_RESET_JTAG (1 << 21)
|
|
#define AST_RESET_ADC (1 << 22)
|
|
#define AST_RESET_GPIO (1 << 23)
|
|
#define AST_RESET_MCTP (1 << 24)
|
|
#define AST_RESET_XDMA (1 << 25)
|
|
#define AST_RESET_SPI (1 << 26)
|
|
#define AST_RESET_MISC (1 << 27)
|
|
|
|
#endif /* _ABI_MACH_ASPEED_AST2500_RESET_H_ */
|