summaryrefslogtreecommitdiffstats
path: root/board/esd/pmc405/pmc405.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2009-09-15 21:43:25 +0200
committerWolfgang Denk <wd@denx.de>2009-09-15 21:43:25 +0200
commitcae26e2fdd9934644086fda9f7cbc336a1fe5ce8 (patch)
tree5f9ae145135d5583fadff9564196fbf5f10e34ea /board/esd/pmc405/pmc405.c
parent6c7bc91fb3dba186d3398a1653f6db236510ffa7 (diff)
parent4c1883670acbf1cc83c04df1876235c3aedde128 (diff)
downloadtalos-obmc-uboot-cae26e2fdd9934644086fda9f7cbc336a1fe5ce8.tar.gz
talos-obmc-uboot-cae26e2fdd9934644086fda9f7cbc336a1fe5ce8.zip
Merge branch 'master' of git://git.denx.de/u-boot-ppc4xx
Diffstat (limited to 'board/esd/pmc405/pmc405.c')
-rw-r--r--board/esd/pmc405/pmc405.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/board/esd/pmc405/pmc405.c b/board/esd/pmc405/pmc405.c
index 192a642aea..5ff87e7a25 100644
--- a/board/esd/pmc405/pmc405.c
+++ b/board/esd/pmc405/pmc405.c
@@ -60,12 +60,12 @@ int board_early_init_f (void)
* EBC Configuration Register:
* set ready timeout to 512 ebc-clks -> ca. 15 us
*/
- mtebc (epcr, 0xa8400000);
+ mtebc (EBC0_CFG, 0xa8400000);
/*
* Setup GPIO pins
*/
- mtdcr(cntrl0, mfdcr(cntrl0) | ((CONFIG_SYS_FPGA_INIT |
+ mtdcr(CPC0_CR0, mfdcr(CPC0_CR0) | ((CONFIG_SYS_FPGA_INIT |
CONFIG_SYS_FPGA_DONE |
CONFIG_SYS_XEREADY |
CONFIG_SYS_NONMONARCH |
@@ -73,7 +73,7 @@ int board_early_init_f (void)
if (!(in_be32((void *)GPIO0_IR) & CONFIG_SYS_REV1_2)) {
/* rev 1.2 boards */
- mtdcr(cntrl0, mfdcr(cntrl0) | ((CONFIG_SYS_INTA_FAKE |
+ mtdcr(CPC0_CR0, mfdcr(CPC0_CR0) | ((CONFIG_SYS_INTA_FAKE |
CONFIG_SYS_SELF_RST) << 5));
}
OpenPOWER on IntegriCloud