Simon Glass | 8807a56 | 2021-06-27 17:50:57 -0600 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
2 | /* | ||||
3 | * This header provides common constants for PCI bindings. | ||||
4 | */ | ||||
5 | |||||
6 | #ifndef _DT_BINDINGS_PCI_PCI_H | ||||
7 | #define _DT_BINDINGS_PCI_PCI_H | ||||
8 | |||||
9 | /* Encode a vendor and device ID into a single cell */ | ||||
10 | #define PCI_VENDEV(v, d) (((v) << 16) | (d)) | ||||
11 | |||||
12 | #endif /* _DT_BINDINGS_PCI_PCI_H */ |