summaryrefslogtreecommitdiff
path: root/board/mpc8641hpcn
diff options
context:
space:
mode:
authorEd Swarthout <Ed.Swarthout@freescale.com>2007-02-28 05:37:29 -0600
committerJon Loeliger <jdl@freescale.com>2007-04-20 14:52:04 -0500
commit2e343b9a57f32e1bd08c35c9976910333fb4e13d (patch)
tree7d1ea661192e20e87de26f8774f7ab5b53bb8700 /board/mpc8641hpcn
parent79cb47391eebef85acadb3f6961ef6c55cace6ac (diff)
downloadu-boot-imx-2e343b9a57f32e1bd08c35c9976910333fb4e13d.zip
u-boot-imx-2e343b9a57f32e1bd08c35c9976910333fb4e13d.tar.gz
u-boot-imx-2e343b9a57f32e1bd08c35c9976910333fb4e13d.tar.bz2
mpc8641hpcn: Fix LAW and TLB setup to use the IO_PHYS #defines.
Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com>
Diffstat (limited to 'board/mpc8641hpcn')
-rw-r--r--board/mpc8641hpcn/init.S6
1 files changed, 3 insertions, 3 deletions
diff --git a/board/mpc8641hpcn/init.S b/board/mpc8641hpcn/init.S
index c7d12e7..cb21ba6 100644
--- a/board/mpc8641hpcn/init.S
+++ b/board/mpc8641hpcn/init.S
@@ -67,10 +67,10 @@
#define LAWBAR4 ((0xf8100000>>12) & 0xffffff)
#define LAWAR4 (LAWAR_EN | LAWAR_TRGT_IF_LBC | (LAWAR_SIZE & LAWAR_SIZE_2M))
-#define LAWBAR5 ((CFG_PCI1_IO_BASE>>12) & 0xffffff)
+#define LAWBAR5 ((CFG_PCI1_IO_PHYS>>12) & 0xffffff)
#define LAWAR5 (LAWAR_EN | LAWAR_TRGT_IF_PCI1 | (LAWAR_SIZE & LAWAR_SIZE_16M))
-#define LAWBAR6 ((CFG_PCI2_IO_BASE>>12) & 0xffffff)
+#define LAWBAR6 ((CFG_PCI2_IO_PHYS>>12) & 0xffffff)
#define LAWAR6 (LAWAR_EN | LAWAR_TRGT_IF_PCI2 | (LAWAR_SIZE & LAWAR_SIZE_16M))
#define LAWBAR7 ((0xfe000000 >>12) & 0xffffff)
@@ -84,7 +84,7 @@
#define LAWAR8 ((LAWAR_TRGT_IF_DDR2 | (LAWAR_SIZE & LAWAR_SIZE_512M)) & ~LAWAR_EN)
#endif
-#define LAWBAR9 ((CFG_RIO_MEM_BASE>>12) & 0xfffff)
+#define LAWBAR9 ((CFG_RIO_MEM_PHYS>>12) & 0xfffff)
#define LAWAR9 (LAWAR_EN | LAWAR_TRGT_IF_RIO | (LAWAR_SIZE & LAWAR_SIZE_512M))
.section .bootpg, "ax"