summaryrefslogtreecommitdiff
path: root/board/g2000/g2000.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/g2000/g2000.c
parent6c7bc91fb3dba186d3398a1653f6db236510ffa7 (diff)
parent4c1883670acbf1cc83c04df1876235c3aedde128 (diff)
downloadu-boot-imx-cae26e2fdd9934644086fda9f7cbc336a1fe5ce8.zip
u-boot-imx-cae26e2fdd9934644086fda9f7cbc336a1fe5ce8.tar.gz
u-boot-imx-cae26e2fdd9934644086fda9f7cbc336a1fe5ce8.tar.bz2
Merge branch 'master' of git://git.denx.de/u-boot-ppc4xx
Diffstat (limited to 'board/g2000/g2000.c')
-rw-r--r--board/g2000/g2000.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/board/g2000/g2000.c b/board/g2000/g2000.c
index f6f4719..ae258e1 100644
--- a/board/g2000/g2000.c
+++ b/board/g2000/g2000.c
@@ -58,7 +58,7 @@ int board_early_init_f (void)
/*
* EBC Configuration Register: set ready timeout to 512 ebc-clks -> ca. 15 us
*/
- mtebc (epcr, 0xa8400000); /* ebc always driven */
+ mtebc (EBC0_CFG, 0xa8400000); /* ebc always driven */
#endif
return 0;
@@ -114,7 +114,7 @@ int checkboard (void)
long int init_sdram_static_settings(void)
{
-#define mtsdram0(reg, data) mtdcr(memcfga,reg);mtdcr(memcfgd,data)
+#define mtsdram0(reg, data) mtdcr(SDRAM0_CFGADDR,reg);mtdcr(SDRAM0_CFGDATA,data)
/* disable memcontroller so updates work */
mtsdram0( mem_mcopt1, MEM_MCOPT1_INIT_VAL );
mtsdram0( mem_rtr , MEM_RTR_INIT_VAL );
@@ -154,15 +154,15 @@ int do_dumpebc(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
ulong ap, cr;
printf("\nEBC registers for PPC405GP:\n");
- mfebc(pb0ap, ap); mfebc(pb0cr, cr);
+ mfebc(PB0AP, ap); mfebc(PB0CR, cr);
printf("0: AP=%08lx CP=%08lx\n", ap, cr);
- mfebc(pb1ap, ap); mfebc(pb1cr, cr);
+ mfebc(PB1AP, ap); mfebc(PB1CR, cr);
printf("1: AP=%08lx CP=%08lx\n", ap, cr);
- mfebc(pb2ap, ap); mfebc(pb2cr, cr);
+ mfebc(PB2AP, ap); mfebc(PB2CR, cr);
printf("2: AP=%08lx CP=%08lx\n", ap, cr);
- mfebc(pb3ap, ap); mfebc(pb3cr, cr);
+ mfebc(PB3AP, ap); mfebc(PB3CR, cr);
printf("3: AP=%08lx CP=%08lx\n", ap, cr);
- mfebc(pb4ap, ap); mfebc(pb4cr, cr);
+ mfebc(PB4AP, ap); mfebc(PB4CR, cr);
printf("4: AP=%08lx CP=%08lx\n", ap, cr);
printf("\n");