]> git.karo-electronics.de Git - linux-beck.git/commitdiff
sh: Hook up 3rd memory window for all SH7786 PCIe channels.
authorPaul Mundt <lethal@linux-sh.org>
Tue, 7 Sep 2010 08:07:05 +0000 (17:07 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 7 Sep 2010 08:07:05 +0000 (17:07 +0900)
Now that the resource assignment issues are resolved, we can finally wire
up the small third memory window -- in the future we may reclaim this for
MSI.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/drivers/pci/pcie-sh7786.c

index c1e862af9b634e7ce8243b1d35101c14fba146f1..5acbaa2dc08e12c84fe2c769221af1a93128f583 100644 (file)
@@ -51,6 +51,7 @@ static struct resource sh7786_pci0_resources[] = {
                .name   = "PCIe0 MEM 2",
                .start  = 0xfe100000,
                .end    = 0xfe100000 + SZ_1M - 1,
+               .flags  = IORESOURCE_MEM,
        },
 };
 
@@ -74,6 +75,7 @@ static struct resource sh7786_pci1_resources[] = {
                .name   = "PCIe1 MEM 2",
                .start  = 0xfe300000,
                .end    = 0xfe300000 + SZ_1M - 1,
+               .flags  = IORESOURCE_MEM,
        },
 };
 
@@ -97,6 +99,7 @@ static struct resource sh7786_pci2_resources[] = {
                .name   = "PCIe2 MEM 2",
                .start  = 0xfcd00000,
                .end    = 0xfcd00000 + SZ_1M - 1,
+               .flags  = IORESOURCE_MEM,
        },
 };