Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 166755
b: refs/heads/master
c: 5b9eda3
h: refs/heads/master
i:
  166753: f2b2e4e
  166751: 9d46ada
v: v3
  • Loading branch information
Aaro Koskinen authored and Dan Williams committed Aug 18, 2009
1 parent b32501b commit 0ddb810
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 6 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: 9e2a7e6f5f1091965c78e01e87af05607bbf937f
refs/heads/master: 5b9eda3313b678f20f2bec08e8173f93e85f6c14
1 change: 1 addition & 0 deletions trunk/arch/arm/include/asm/hardware/iop3xx.h
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,7 @@ extern int iop3xx_get_init_atu(void);
* IOP3XX I/O and Mem space regions for PCI autoconfiguration
*/
#define IOP3XX_PCI_LOWER_MEM_PA 0x80000000
#define IOP3XX_PCI_MEM_WINDOW_SIZE 0x08000000

#define IOP3XX_PCI_IO_WINDOW_SIZE 0x00010000
#define IOP3XX_PCI_LOWER_IO_PA 0x90000000
Expand Down
2 changes: 0 additions & 2 deletions trunk/arch/arm/mach-iop32x/include/mach/iop32x.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,5 @@
#define IOP32X_MAX_RAM_SIZE 0x40000000UL
#define IOP3XX_MAX_RAM_SIZE IOP32X_MAX_RAM_SIZE
#define IOP3XX_PCI_LOWER_MEM_BA 0x80000000
#define IOP32X_PCI_MEM_WINDOW_SIZE 0x04000000
#define IOP3XX_PCI_MEM_WINDOW_SIZE IOP32X_PCI_MEM_WINDOW_SIZE

#endif
2 changes: 0 additions & 2 deletions trunk/arch/arm/mach-iop33x/include/mach/iop33x.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@
#define IOP33X_MAX_RAM_SIZE 0x80000000UL
#define IOP3XX_MAX_RAM_SIZE IOP33X_MAX_RAM_SIZE
#define IOP3XX_PCI_LOWER_MEM_BA (PHYS_OFFSET + IOP33X_MAX_RAM_SIZE)
#define IOP33X_PCI_MEM_WINDOW_SIZE 0x08000000
#define IOP3XX_PCI_MEM_WINDOW_SIZE IOP33X_PCI_MEM_WINDOW_SIZE


#endif
3 changes: 2 additions & 1 deletion trunk/arch/arm/plat-iop/pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,8 @@ void __init iop3xx_atu_setup(void)
*IOP3XX_OUMWTVR0 = 0;

/* Outbound window 1 */
*IOP3XX_OMWTVR1 = IOP3XX_PCI_LOWER_MEM_BA + IOP3XX_PCI_MEM_WINDOW_SIZE;
*IOP3XX_OMWTVR1 = IOP3XX_PCI_LOWER_MEM_BA +
IOP3XX_PCI_MEM_WINDOW_SIZE / 2;
*IOP3XX_OUMWTVR1 = 0;

/* BAR 3 ( Disabled ) */
Expand Down

0 comments on commit 0ddb810

Please sign in to comment.