summaryrefslogtreecommitdiff
path: root/cpu
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2008-04-22 17:21:24 +0200
committerWolfgang Denk <wd@denx.de>2008-04-22 17:21:24 +0200
commit58c5376ba67767ee684069d43e7f747a5d9ae8ed (patch)
treedfd19b2fb608c8ba238da53f3302c30d94a1e0ba /cpu
parentdc7746d86d2a3dfe01ab9a70cb427f92adc303c7 (diff)
parent5d40d4430d9ebc8434c6f0798594836e1efa7a1e (diff)
downloadu-boot-imx-58c5376ba67767ee684069d43e7f747a5d9ae8ed.zip
u-boot-imx-58c5376ba67767ee684069d43e7f747a5d9ae8ed.tar.gz
u-boot-imx-58c5376ba67767ee684069d43e7f747a5d9ae8ed.tar.bz2
Merge branch 'master' of git://www.denx.de/git/u-boot-ppc4xx
Diffstat (limited to 'cpu')
-rw-r--r--cpu/ppc4xx/cache.S2
-rw-r--r--cpu/ppc4xx/speed.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/cpu/ppc4xx/cache.S b/cpu/ppc4xx/cache.S
index 5124dec..ceb3ec0 100644
--- a/cpu/ppc4xx/cache.S
+++ b/cpu/ppc4xx/cache.S
@@ -166,9 +166,11 @@ _GLOBAL(invalidate_dcache)
#ifdef CONFIG_440
.globl dcache_disable
+ .globl dcache_enable
.globl icache_disable
.globl icache_enable
dcache_disable:
+dcache_enable:
icache_disable:
icache_enable:
blr
diff --git a/cpu/ppc4xx/speed.c b/cpu/ppc4xx/speed.c
index fa79952..05b42fe 100644
--- a/cpu/ppc4xx/speed.c
+++ b/cpu/ppc4xx/speed.c
@@ -165,6 +165,8 @@ void get_sys_info (PPC4xx_SYS_INFO * sysInfo)
}
}
+ sysInfo->freqEBC = sysInfo->freqPLB / sysInfo->pllExtBusDiv;
+
sysInfo->freqUART = sysInfo->freqProcessor;
}