Skip to content

Commit

Permalink
microblaze/PCI: Remove support for Xilinx PCI host bridge
Browse files Browse the repository at this point in the history
This patch removes support for the Xilinx PCI host
bridge IPcore.

Signed-off-by: Thippeswamy Havalige <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Michal Simek <[email protected]>
  • Loading branch information
Thippeswamy Havalige authored and michalsimek committed Nov 25, 2022
1 parent cb0199c commit 41604bf
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 126 deletions.
8 changes: 0 additions & 8 deletions arch/microblaze/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -215,11 +215,3 @@ config MB_MANAGER
Say N here unless you know what you are doing.

endmenu

menu "Bus Options"

config PCI_XILINX
bool "Xilinx PCI host bridge support"
depends on PCI

endmenu
1 change: 0 additions & 1 deletion arch/microblaze/configs/mmu_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ CONFIG_HZ_100=y
CONFIG_CMDLINE_BOOL=y
CONFIG_CMDLINE_FORCE=y
CONFIG_HIGHMEM=y
CONFIG_PCI_XILINX=y
CONFIG_MODULES=y
CONFIG_MODULE_UNLOAD=y
# CONFIG_BLK_DEV_BSG is not set
Expand Down
6 changes: 0 additions & 6 deletions arch/microblaze/include/asm/pci-bridge.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ static inline int pcibios_vaddr_is_ioport(void __iomem *address)
*/
struct pci_controller {
struct pci_bus *bus;
struct device_node *dn;
struct list_head list_node;

void __iomem *io_base_virt;
Expand All @@ -37,11 +36,6 @@ struct pci_controller {
};

#ifdef CONFIG_PCI
static inline struct pci_controller *pci_bus_to_host(const struct pci_bus *bus)
{
return bus->sysdata;
}

static inline int isa_vaddr_is_ioport(void __iomem *address)
{
/* No specific ISA handling on ppc32 at this stage, it
Expand Down
5 changes: 0 additions & 5 deletions arch/microblaze/include/asm/pci.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,7 @@ extern int pci_proc_domain(struct pci_bus *bus);

struct file;

/* This part of code was originally in xilinx-pci.h */
#ifdef CONFIG_PCI_XILINX
extern void __init xilinx_pci_init(void);
#else
static inline void __init xilinx_pci_init(void) { return; }
#endif

#endif /* __KERNEL__ */
#endif /* __ASM_MICROBLAZE_PCI_H */
1 change: 0 additions & 1 deletion arch/microblaze/pci/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,3 @@
#

obj-$(CONFIG_PCI) += pci-common.o iomap.o
obj-$(CONFIG_PCI_XILINX) += xilinx_pci.o
105 changes: 0 additions & 105 deletions arch/microblaze/pci/xilinx_pci.c

This file was deleted.

0 comments on commit 41604bf

Please sign in to comment.