]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
mpc8641hpcn: Fix LAW and TLB setup to use the IO_PHYS #defines.
authorEd Swarthout <Ed.Swarthout@freescale.com>
Wed, 28 Feb 2007 11:37:29 +0000 (05:37 -0600)
committerJon Loeliger <jdl@freescale.com>
Fri, 20 Apr 2007 19:52:04 +0000 (14:52 -0500)
Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com>
board/mpc8641hpcn/init.S

index c7d12e7932202bb8a9cb1e1cca5149bb8be8203d..cb21ba6a75ba0192e050b00239ca9c4c5c5659af 100644 (file)
 #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"