summaryrefslogtreecommitdiff
path: root/cpu/mpc85xx/cpu.c
diff options
context:
space:
mode:
authorwdenk <wdenk>2005-04-13 10:02:42 +0000
committerwdenk <wdenk>2005-04-13 10:02:42 +0000
commit2a8af1873894dae030813c11e77ccee476ac11f8 (patch)
treeed52fefa46b69e1ec04ce0cc45e66ff07e1fd103 /cpu/mpc85xx/cpu.c
parente694e08a8b0b43e676c48867ca2cc28f4a7f2b84 (diff)
downloadu-boot-imx-2a8af1873894dae030813c11e77ccee476ac11f8.zip
u-boot-imx-2a8af1873894dae030813c11e77ccee476ac11f8.tar.gz
u-boot-imx-2a8af1873894dae030813c11e77ccee476ac11f8.tar.bz2
* Fixes for TQM8560 board:
- fix clock rates - remove debug messages - fix flash sector protection * Patch by Steven Scholz, 07 Apr 2005: Fix warning in cpu/arm920t/at91rm9200/i2c.c
Diffstat (limited to 'cpu/mpc85xx/cpu.c')
-rw-r--r--cpu/mpc85xx/cpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu/mpc85xx/cpu.c b/cpu/mpc85xx/cpu.c
index fe678df..4a1ccb0 100644
--- a/cpu/mpc85xx/cpu.c
+++ b/cpu/mpc85xx/cpu.c
@@ -145,7 +145,7 @@ unsigned long get_tbclk (void)
sys_info_t sys_info;
get_sys_info(&sys_info);
- return ((sys_info.freqSystemBus + 3L) / 4L);
+ return ((sys_info.freqSystemBus + 7L) / 8L);
}