diff options
author | Matthias Fuchs <matthias.fuchs@esd.eu> | 2009-07-22 17:27:56 +0200 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2009-07-24 06:47:17 +0200 |
commit | 58ea142fb2e969f32306c8da1dabfaebd6fa141a (patch) | |
tree | 6f6054a161a5c439b29e85f874531093390623bc /cpu/ppc4xx/speed.c | |
parent | 87c0b72908e05662b8b415e26e1042f4779629da (diff) | |
download | u-boot-imx-58ea142fb2e969f32306c8da1dabfaebd6fa141a.zip u-boot-imx-58ea142fb2e969f32306c8da1dabfaebd6fa141a.tar.gz u-boot-imx-58ea142fb2e969f32306c8da1dabfaebd6fa141a.tar.bz2 |
ppc4xx: Replace 4xx lowercase SPR references
Signed-off-by: Matthias Fuchs <matthias.fuchs@esd.eu>
Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'cpu/ppc4xx/speed.c')
-rw-r--r-- | cpu/ppc4xx/speed.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cpu/ppc4xx/speed.c b/cpu/ppc4xx/speed.c index 6cb93f3..c0a5824 100644 --- a/cpu/ppc4xx/speed.c +++ b/cpu/ppc4xx/speed.c @@ -394,7 +394,8 @@ void get_sys_info (sys_info_t *sysInfo) sysInfo->freqUART = sysInfo->freqPLB; /* Figure which timer source to use */ - if (mfspr(ccr1) & 0x0080) { /* External Clock, assume same as SYS_CLK */ + if (mfspr(SPRN_CCR1) & 0x0080) { + /* External Clock, assume same as SYS_CLK */ temp = sysInfo->freqProcessor / 2; /* Max extern clock speed */ if (CONFIG_SYS_CLK_FREQ > temp) sysInfo->freqTmrClk = temp; |