summaryrefslogtreecommitdiff
path: root/board/freescale/mpc8555cds/law.c
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2008-01-16 16:04:42 (GMT)
committerKumar Gala <galak@kernel.crashing.org>2008-01-17 05:21:56 (GMT)
commitc8c41d4a80b1a8ad5984a287d81ea780496259f8 (patch)
treed16801f7e70a98bc8f7f636bc458ccbc087bbe0c /board/freescale/mpc8555cds/law.c
parent54a5070115eff38e9b324b78abdfa0b4520580b9 (diff)
downloadu-boot-c8c41d4a80b1a8ad5984a287d81ea780496259f8.tar.xz
85xx: Use proper defines for PCI addresses
We should be using the _MEM_PHYS for LAW and TLB setup and not _MEM_BASE. While _MEM_BASE & _MEM_PHYS are normally the same, _MEM_BASE should only be used for configuring the PCI ATMU. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'board/freescale/mpc8555cds/law.c')
-rw-r--r--board/freescale/mpc8555cds/law.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/freescale/mpc8555cds/law.c b/board/freescale/mpc8555cds/law.c
index a8aa4db..0ac223c 100644
--- a/board/freescale/mpc8555cds/law.c
+++ b/board/freescale/mpc8555cds/law.c
@@ -47,8 +47,8 @@
*/
struct law_entry law_table[] = {
- SET_LAW_ENTRY(2, CFG_PCI1_MEM_BASE, LAW_SIZE_512M, LAW_TRGT_IF_PCI),
- SET_LAW_ENTRY(3, CFG_PCI2_MEM_BASE, LAW_SIZE_512M, LAW_TRGT_IF_PCI_2),
+ SET_LAW_ENTRY(2, CFG_PCI1_MEM_PHYS, LAW_SIZE_512M, LAW_TRGT_IF_PCI),
+ SET_LAW_ENTRY(3, CFG_PCI2_MEM_PHYS, LAW_SIZE_512M, LAW_TRGT_IF_PCI_2),
SET_LAW_ENTRY(4, CFG_PCI1_IO_PHYS, LAW_SIZE_1M, LAW_TRGT_IF_PCI),
SET_LAW_ENTRY(5, CFG_PCI2_IO_PHYS, LAW_SIZE_1M, LAW_TRGT_IF_PCI_2),
/* LBC window - maps 256M 0xf0000000 -> 0xffffffff */