[OpenBIOS] [PATCH 5/5] arch: remove rbase and rlen from pci_arch_t for all PCI architectures
Mark Cave-Ayland
mark.cave-ayland at ilande.co.uk
Sat Jul 8 21:36:59 CEST 2017
This is now handled by the host_ranges property so remove all remaining
references.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland at ilande.co.uk>
---
arch/ppc/qemu/init.c | 8 --------
include/drivers/pci.h | 2 --
2 files changed, 10 deletions(-)
diff --git a/arch/ppc/qemu/init.c b/arch/ppc/qemu/init.c
index 6984e91..5ce080c 100644
--- a/arch/ppc/qemu/init.c
+++ b/arch/ppc/qemu/init.c
@@ -106,8 +106,6 @@ static const pci_arch_t known_arch[] = {
.mem_len = 0x10000000,
.io_base = 0x80000000,
.io_len = 0x00010000,
- .rbase = 0x00000000,
- .rlen = 0x00400000,
.host_ranges = {
{ .type = IO_SPACE, .parentaddr = 0, .childaddr = 0x80000000, .len = 0x00010000 },
{ .type = MEMORY_SPACE_32, .parentaddr = 0, .childaddr = 0xc0100000, .len = 0x10000000 },
@@ -128,8 +126,6 @@ static const pci_arch_t known_arch[] = {
.mem_len = 0x10000000,
.io_base = 0xf2000000,
.io_len = 0x00800000,
- .rbase = 0x00000000,
- .rlen = 0x01000000,
.host_ranges = {
{ .type = IO_SPACE, .parentaddr = 0, .childaddr = 0xf2000000, .len = 0x00800000 },
{ .type = MEMORY_SPACE_32, .parentaddr = 0x80000000, .childaddr = 0x80000000, .len = 0x10000000 },
@@ -150,8 +146,6 @@ static const pci_arch_t known_arch[] = {
.mem_len = 0x10000000,
.io_base = 0xf2000000,
.io_len = 0x00800000,
- .rbase = 0x00000000,
- .rlen = 0x01000000,
.host_ranges = {
{ .type = IO_SPACE, .parentaddr = 0, .childaddr = 0xf2000000, .len = 0x00800000 },
{ .type = MEMORY_SPACE_32, .parentaddr = 0x80000000, .childaddr = 0x80000000, .len = 0x10000000 },
@@ -172,8 +166,6 @@ static const pci_arch_t known_arch[] = {
.mem_len = 0x10000000,
.io_base = 0xfe000000,
.io_len = 0x00800000,
- .rbase = 0xfd000000,
- .rlen = 0x01000000,
.host_ranges = {
{ .type = IO_SPACE, .parentaddr = 0, .childaddr = 0xfe000000, .len = 0x00800000 },
{ .type = MEMORY_SPACE_32, .parentaddr = 0, .childaddr = 0xfd000000, .len = 0x01000000 },
diff --git a/include/drivers/pci.h b/include/drivers/pci.h
index 02599c1..e9f20a1 100644
--- a/include/drivers/pci.h
+++ b/include/drivers/pci.h
@@ -34,8 +34,6 @@ struct pci_arch_t {
unsigned long mem_len;
unsigned long io_base;
unsigned long io_len;
- unsigned long rbase;
- unsigned long rlen;
pci_range_t host_ranges[4];
uint8_t irqs[4];
};
--
1.7.10.4
More information about the OpenBIOS
mailing list