summaryrefslogtreecommitdiff
path: root/include/pci_gt64120.h
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2013-05-22 03:57:42 +0000
committerTom Rini <trini@ti.com>2013-07-24 09:51:04 -0400
commitfeaa60662768dcc97fdf7c593583876ce4e1564c (patch)
tree72703233c476cba89131d99c9cc769c3d0d1ba87 /include/pci_gt64120.h
parentac12984de8e2239a19c054ffcc615ad4a2e57cc4 (diff)
downloadu-boot-feaa60662768dcc97fdf7c593583876ce4e1564c.tar.gz
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 <juhosg@openwrt.org> Cc: Daniel Schwierzeck <daniel.schwierzeck@googlemail.com>
Diffstat (limited to 'include/pci_gt64120.h')
-rw-r--r--include/pci_gt64120.h19
1 files changed, 19 insertions, 0 deletions
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 <juhosg@openwrt.org>
+ *
+ * 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 */