From aaf52c0c7d2db474a009706cdabc48f6ca90a0aa Mon Sep 17 00:00:00 2001 From: John Crispin Date: Thu, 8 Oct 2009 22:24:49 +0000 Subject: ifxmips: move header files, split up patches, rename some files SVN-Revision: 18010 --- target/linux/ifxmips/files/arch/mips/pci/pci-ifxmips.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'target/linux/ifxmips/files/arch/mips/pci/pci-ifxmips.c') diff --git a/target/linux/ifxmips/files/arch/mips/pci/pci-ifxmips.c b/target/linux/ifxmips/files/arch/mips/pci/pci-ifxmips.c index 47bb1e6..e50cb3b 100644 --- a/target/linux/ifxmips/files/arch/mips/pci/pci-ifxmips.c +++ b/target/linux/ifxmips/files/arch/mips/pci/pci-ifxmips.c @@ -4,11 +4,11 @@ #include #include #include -#include -#include -#include #include #include +#include +#include +#include #define IFXMIPS_PCI_MEM_BASE 0x18000000 #define IFXMIPS_PCI_MEM_SIZE 0x02000000 @@ -49,6 +49,8 @@ static struct pci_controller ifxmips_pci_controller = .io_offset = 0x00000000UL, }; +/* the cpu can can generate the 33Mhz or rely on an external clock the cgu needs the + proper setting, otherwise the cpu hangs. we have no way of runtime detecting this */ u32 ifxmips_pci_mapped_cfg; int ifxmips_pci_external_clock = 0; -- cgit v1.1