summaryrefslogtreecommitdiff
path: root/board/tqm834x/pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/tqm834x/pci.c')
-rw-r--r--board/tqm834x/pci.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/board/tqm834x/pci.c b/board/tqm834x/pci.c
index d01277f..d896f17 100644
--- a/board/tqm834x/pci.c
+++ b/board/tqm834x/pci.c
@@ -78,7 +78,7 @@ pci_init_board(void)
u32 reg32;
struct pci_controller * hose;
- immr = (immap_t *)CFG_IMMRBAR;
+ immr = (immap_t *)CFG_IMMR;
clk = (clk83xx_t *)&immr->clk;
pci_law = immr->sysconf.pcilaw;
pci_pot = immr->ios.pot;
@@ -186,8 +186,8 @@ pci_init_board(void)
hose->region_count = 3;
pci_setup_indirect(hose,
- (CFG_IMMRBAR+0x8300),
- (CFG_IMMRBAR+0x8304));
+ (CFG_IMMR+0x8300),
+ (CFG_IMMR+0x8304));
pci_register_hose(hose);