summaryrefslogtreecommitdiff
path: root/cpu
diff options
context:
space:
mode:
authorarun c <arun.edarath@gmail.com>2008-12-04 15:57:15 +0530
committerJohn Rigby <jrigby@freescale.com>2009-03-17 15:58:07 -0600
commit32d11d58159a575f08a982cad8a5a941ffe5cc3d (patch)
tree7bc932079306950b78ea9c10165b1ea4702d3b7a /cpu
parentb3dd629e78870ba2dc9f8032978721c0fa02a856 (diff)
Coldfire: XL Bus minor fixes
According to coldfire manual data timeout > address time out also use correct macro to program XARB_CFG Signed-off-by: Arun C <arunedarath@mistralsolutions.com>
Diffstat (limited to 'cpu')
-rw-r--r--cpu/mcf547x_8x/cpu_init.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpu/mcf547x_8x/cpu_init.c b/cpu/mcf547x_8x/cpu_init.c
index 1ba57835e54..96a3132b783 100644
--- a/cpu/mcf547x_8x/cpu_init.c
+++ b/cpu/mcf547x_8x/cpu_init.c
@@ -49,14 +49,14 @@ void cpu_init_f(void)
volatile xlbarb_t *xlbarb = (volatile xlbarb_t *) MMAP_XARB;
xlbarb->adrto = 0x2000;
- xlbarb->datto = 0x2000;
+ xlbarb->datto = 0x2500;
xlbarb->busto = 0x3000;
- xlbarb->cfg = XARB_SR_AT | XARB_SR_DT;
+ xlbarb->cfg = XARB_CFG_AT | XARB_CFG_DT;
/* Master Priority Enable */
- xlbarb->pri = 0;
xlbarb->prien = 0xff;
+ xlbarb->pri = 0;
#if (defined(CONFIG_SYS_CS0_BASE) && defined(CONFIG_SYS_CS0_MASK) && defined(CONFIG_SYS_CS0_CTRL))
fbcs->csar0 = CONFIG_SYS_CS0_BASE;