mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-21 10:43:06 +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>
43 lines
922 B
C
43 lines
922 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* Copyright 2013-2015 Arcturus Networks, Inc.
|
|
* http://www.arcturusnetworks.com/products/ucp1020/
|
|
* by Oleksandr G Zhadan et al.
|
|
*/
|
|
|
|
#ifndef __UCP1020_H__
|
|
#define __UCP1020_H__
|
|
|
|
#define GPIO0 31
|
|
#define GPIO1 30
|
|
#define GPIO2 29
|
|
#define GPIO3 28
|
|
#define GPIO4 27
|
|
#define GPIO5 26
|
|
#define GPIO6 25
|
|
#define GPIO7 24
|
|
#define GPIO8 23
|
|
#define GPIO9 22
|
|
#define GPIO10 21
|
|
#define GPIO11 20
|
|
#define GPIO12 19
|
|
#define GPIO13 18
|
|
#define GPIO14 17
|
|
#define GPIO15 16
|
|
#define GPIO_MAX_NUM 16
|
|
|
|
#define GPIO_SDHC_CD GPIO8
|
|
#define GPIO_SDHC_WP GPIO9
|
|
#define GPIO_USB_PCTL0 GPIO10
|
|
#define GPIO_PCIE1_EN GPIO11
|
|
#define GPIO_PCIE2_EN GPIO10
|
|
#define GPIO_USB_PCTL1 GPIO11
|
|
|
|
#define GPIO_WD GPIO15
|
|
|
|
static char *defkargs = "root=/dev/mtdblock1 rootfstype=cramfs ro";
|
|
static char *mmckargs = "root=/dev/mmcblk0p1 rootwait rw";
|
|
|
|
int get_arc_info(void);
|
|
|
|
#endif
|