mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-11 13:56:30 +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>
93 lines
2.1 KiB
C
93 lines
2.1 KiB
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* Copyright (C) 2015, Bin Meng <bmeng.cn@gmail.com>
|
|
*/
|
|
|
|
#ifndef _QUEENSBAY_DEVICE_H_
|
|
#define _QUEENSBAY_DEVICE_H_
|
|
|
|
#include <pci.h>
|
|
|
|
/* TunnelCreek PCI Devices */
|
|
#define TNC_HOST_BRIDGE_DEV 0
|
|
#define TNC_HOST_BRIDGE_FUNC 0
|
|
#define TNC_IGD_DEV 2
|
|
#define TNC_IGD_FUNC 0
|
|
#define TNC_SDVO_DEV 3
|
|
#define TNC_SDVO_FUNC 0
|
|
#define TNC_PCIE0_DEV 23
|
|
#define TNC_PCIE0_FUNC 0
|
|
#define TNC_PCIE1_DEV 24
|
|
#define TNC_PCIE1_FUNC 0
|
|
#define TNC_PCIE2_DEV 25
|
|
#define TNC_PCIE2_FUNC 0
|
|
#define TNC_PCIE3_DEV 26
|
|
#define TNC_PCIE3_FUNC 0
|
|
#define TNC_HDA_DEV 27
|
|
#define TNC_HDA_FUNC 0
|
|
#define TNC_LPC_DEV 31
|
|
#define TNC_LPC_FUNC 0
|
|
|
|
#define TNC_HOST_BRIDGE \
|
|
PCI_BDF(0, TNC_HOST_BRIDGE_DEV, TNC_HOST_BRIDGE_FUNC)
|
|
#define TNC_IGD \
|
|
PCI_BDF(0, TNC_IGD_DEV, TNC_IGD_FUNC)
|
|
#define TNC_SDVO \
|
|
PCI_BDF(0, TNC_SDVO_DEV, TNC_SDVO_FUNC)
|
|
#define TNC_PCIE0 \
|
|
PCI_BDF(0, TNC_PCIE0_DEV, TNC_PCIE0_FUNC)
|
|
#define TNC_PCIE1 \
|
|
PCI_BDF(0, TNC_PCIE1_DEV, TNC_PCIE1_FUNC)
|
|
#define TNC_PCIE2 \
|
|
PCI_BDF(0, TNC_PCIE2_DEV, TNC_PCIE2_FUNC)
|
|
#define TNC_PCIE3 \
|
|
PCI_BDF(0, TNC_PCIE3_DEV, TNC_PCIE3_FUNC)
|
|
#define TNC_HDA \
|
|
PCI_BDF(0, TNC_HDA_DEV, TNC_HDA_FUNC)
|
|
#define TNC_LPC \
|
|
PCI_BDF(0, TNC_LPC_DEV, TNC_LPC_FUNC)
|
|
|
|
/* Topcliff IOH PCI Devices */
|
|
#define TCF_PCIE_PORT_DEV 0
|
|
#define TCF_PCIE_PORT_FUNC 0
|
|
|
|
#define TCF_DEV_0 0
|
|
#define TCF_PKT_HUB_FUNC 0
|
|
#define TCF_GBE_FUNC 1
|
|
#define TCF_GPIO_FUNC 2
|
|
|
|
#define TCF_DEV_2 2
|
|
#define TCF_USB1_OHCI0_FUNC 0
|
|
#define TCF_USB1_OHCI1_FUNC 1
|
|
#define TCF_USB1_OHCI2_FUNC 2
|
|
#define TCF_USB1_EHCI_FUNC 3
|
|
#define TCF_USB_DEVICE_FUNC 4
|
|
|
|
#define TCF_DEV_4 4
|
|
#define TCF_SDIO0_FUNC 0
|
|
#define TCF_SDIO1_FUNC 1
|
|
|
|
#define TCF_DEV_6 6
|
|
#define TCF_SATA_FUNC 0
|
|
|
|
#define TCF_DEV_8 8
|
|
#define TCF_USB2_OHCI0_FUNC 0
|
|
#define TCF_USB2_OHCI1_FUNC 1
|
|
#define TCF_USB2_OHCI2_FUNC 2
|
|
#define TCF_USB2_EHCI_FUNC 3
|
|
|
|
#define TCF_DEV_10 10
|
|
#define TCF_DMA1_FUNC 0
|
|
#define TCF_UART0_FUNC 1
|
|
#define TCF_UART1_FUNC 2
|
|
#define TCF_UART2_FUNC 3
|
|
#define TCF_UART3_FUNC 4
|
|
|
|
#define TCF_DEV_12 12
|
|
#define TCF_DMA2_FUNC 0
|
|
#define TCF_SPI_FUNC 1
|
|
#define TCF_I2C_FUNC 2
|
|
#define TCF_CAN_FUNC 3
|
|
#define TCF_1588_FUNC 4
|
|
|
|
#endif /* _QUEENSBAY_DEVICE_H_ */
|