Commit 07c019bc authored by Ralf Baechle's avatar Ralf Baechle

[MIPS] BCM1480: Use constants instead of magic numbers in PCI code.

Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent e2defae5
...@@ -178,8 +178,8 @@ struct pci_ops bcm1480_pci_ops = { ...@@ -178,8 +178,8 @@ struct pci_ops bcm1480_pci_ops = {
static struct resource bcm1480_mem_resource = { static struct resource bcm1480_mem_resource = {
.name = "BCM1480 PCI MEM", .name = "BCM1480 PCI MEM",
.start = 0x30000000UL, .start = A_BCM1480_PHYS_PCI_MEM_MATCH_BYTES,
.end = 0x3fffffffUL, .end = A_BCM1480_PHYS_PCI_MEM_MATCH_BYTES + 0xfffffffUL,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
}; };
......
...@@ -173,8 +173,8 @@ struct pci_ops bcm1480ht_pci_ops = { ...@@ -173,8 +173,8 @@ struct pci_ops bcm1480ht_pci_ops = {
static struct resource bcm1480ht_mem_resource = { static struct resource bcm1480ht_mem_resource = {
.name = "BCM1480 HT MEM", .name = "BCM1480 HT MEM",
.start = 0x40000000UL, .start = A_BCM1480_PHYS_HT_MEM_MATCH_BYTES,
.end = 0x5fffffffUL, .end = A_BCM1480_PHYS_HT_MEM_MATCH_BYTES + 0x1fffffffUL,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment