1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 3 #ifndef __ASM_CSKY_PCI_H 4 #define __ASM_CSKY_PCI_H 5 6 #include <linux/types.h> 7 #include <linux/slab.h> 8 #include <linux/dma-mapping.h> 9 10 #include <asm/io.h> 11 12 #define PCIBIOS_MIN_IO 0 13 #define PCIBIOS_MIN_MEM 0 14 15 /* C-SKY shim does not initialize PCI bus */ 16 #define pcibios_assign_all_busses() 1 17 18 #ifdef CONFIG_PCI 19 static inline int pci_proc_domain(struct pci_bus *bus) 20 { 21 /* always show the domain in /proc */ 22 return 1; 23 } 24 #endif /* CONFIG_PCI */ 25 26 #endif /* __ASM_CSKY_PCI_H */ 27