From 297078e82c005275159c5b9c768ad3d2b03a6073 Mon Sep 17 00:00:00 2001 From: Jonas Gorski Date: Tue, 3 Jul 2012 21:42:07 +0000 Subject: bcm63xx: update patches to latest upstream versions git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32591 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- ...X-Move-the-PCI-initialization-into-its-ow.patch | 48 ---------------------- 1 file changed, 48 deletions(-) delete mode 100644 target/linux/brcm63xx/patches-3.3/315-MIPS-BCM63XX-Move-the-PCI-initialization-into-its-ow.patch (limited to 'target/linux/brcm63xx/patches-3.3/315-MIPS-BCM63XX-Move-the-PCI-initialization-into-its-ow.patch') diff --git a/target/linux/brcm63xx/patches-3.3/315-MIPS-BCM63XX-Move-the-PCI-initialization-into-its-ow.patch b/target/linux/brcm63xx/patches-3.3/315-MIPS-BCM63XX-Move-the-PCI-initialization-into-its-ow.patch deleted file mode 100644 index fe343e0e10..0000000000 --- a/target/linux/brcm63xx/patches-3.3/315-MIPS-BCM63XX-Move-the-PCI-initialization-into-its-ow.patch +++ /dev/null @@ -1,48 +0,0 @@ -From f7d09679600b187fcfa1d70819e53f190fb1c231 Mon Sep 17 00:00:00 2001 -From: Jonas Gorski -Date: Sun, 3 Jul 2011 03:08:11 +0200 -Subject: [PATCH 45/79] MIPS: BCM63XX: Move the PCI initialization into its - own function - -Also make the cpu check a bit more explicit. - -Signed-off-by: Jonas Gorski ---- - arch/mips/pci/pci-bcm63xx.c | 25 +++++++++++++++++-------- - 1 file changed, 17 insertions(+), 8 deletions(-) - ---- a/arch/mips/pci/pci-bcm63xx.c -+++ b/arch/mips/pci/pci-bcm63xx.c -@@ -88,14 +88,10 @@ static void bcm63xx_int_cfg_writel(u32 v - - void __iomem *pci_iospace_start; - --int __init bcm63xx_pci_register(void) -+static int __init bcm63xx_register_pci(void) - { - unsigned int mem_size; - u32 val; -- -- if (!BCMCPU_IS_6348() && !BCMCPU_IS_6358() && !BCMCPU_IS_6368()) -- return -ENODEV; -- - /* - * configuration access are done through IO space, remap 4 - * first bytes to access it from CPU. -@@ -211,3 +207,16 @@ int __init bcm63xx_pci_register(void) - "bcm63xx PCI IO space"); - return 0; - } -+ -+int __init bcm63xx_pci_register(void) -+{ -+ switch (bcm63xx_get_cpu_id()) { -+ case BCM6348_CPU_ID: -+ case BCM6358_CPU_ID: -+ case BCM6368_CPU_ID: -+ return bcm63xx_register_pci(); -+ default: -+ return -ENODEV; -+ } -+} -+ -- cgit v1.2.3