From feaa60662768dcc97fdf7c593583876ce4e1564c Mon Sep 17 00:00:00 2001 From: Gabor Juhos Date: Wed, 22 May 2013 03:57:42 +0000 Subject: MIPS: qemu-malta: add PCI support Qemu emulates the Galileo GT64120 System Controller which provides a CPU bus to PCI bus bridge. The patch adds driver for this bridge and enables PCI support for the emulated Malta board. Signed-off-by: Gabor Juhos Cc: Daniel Schwierzeck --- include/pci_gt64120.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 include/pci_gt64120.h (limited to 'include/pci_gt64120.h') diff --git a/include/pci_gt64120.h b/include/pci_gt64120.h new file mode 100644 index 0000000000..b6d58d82b8 --- /dev/null +++ b/include/pci_gt64120.h @@ -0,0 +1,19 @@ +/* + * Copyright (C) 2013 Gabor Juhos + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License version 2 as published + * by the Free Software Foundation. + */ + +#ifndef _PCI_GT64120_H +#define _PCI_GT64120_H + +void gt64120_pci_init(void *regs, unsigned long sys_bus, unsigned long sys_phys, + unsigned long sys_size, unsigned long mem_bus, + unsigned long mem_phys, unsigned long mem_size, + unsigned long io_bus, unsigned long io_phys, + unsigned long io_size); + + +#endif /* _PCI_GT64120_H */ -- cgit v1.2.1