Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 91155
b: refs/heads/master
c: 27eedbf
h: refs/heads/master
i:
  91153: e8a0da8
  91151: e2bd8d5
v: v3
  • Loading branch information
Russell King authored and Dan Williams committed Mar 26, 2008
1 parent aee4c44 commit e4b2936
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c3a1c9c75b986e5a2c5d878ef0700a1ca6bb895a
refs/heads/master: 27eedbf557f511efbe5651fa2fbfa0e4e8315ab7
7 changes: 5 additions & 2 deletions trunk/arch/arm/plat-iop/pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -209,8 +209,11 @@ int iop3xx_pci_setup(int nr, struct pci_sys_data *sys)
res[1].flags = IORESOURCE_MEM;
request_resource(&iomem_resource, &res[1]);

sys->mem_offset = IOP3XX_PCI_LOWER_MEM_PA - IOP3XX_PCI_LOWER_MEM_BA;
sys->io_offset = IOP3XX_PCI_LOWER_IO_PA - IOP3XX_PCI_LOWER_IO_BA;
/*
* Use whatever translation is already setup.
*/
sys->mem_offset = IOP3XX_PCI_LOWER_MEM_PA - *IOP3XX_OMWTVR0;
sys->io_offset = IOP3XX_PCI_LOWER_IO_PA - *IOP3XX_OIOWTVR;

sys->resource[0] = &res[0];
sys->resource[1] = &res[1];
Expand Down

0 comments on commit e4b2936

Please sign in to comment.