xref: /openbmc/linux/arch/arm64/include/asm/pci.h (revision 2a598d0b)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __ASM_PCI_H
3 #define __ASM_PCI_H
4 
5 #include <linux/types.h>
6 #include <linux/slab.h>
7 #include <linux/dma-mapping.h>
8 
9 #include <asm/io.h>
10 
11 #define PCIBIOS_MIN_IO		0x1000
12 
13 /*
14  * Set to 1 if the kernel should re-assign all PCI bus numbers
15  */
16 #define pcibios_assign_all_busses() \
17 	(pci_has_flag(PCI_REASSIGN_ALL_BUS))
18 
19 #define arch_can_pci_mmap_wc() 1
20 
21 /* Generic PCI */
22 #include <asm-generic/pci.h>
23 
24 #endif  /* __ASM_PCI_H */
25