diff options
author | stroese <stroese> | 2004-12-16 18:09:49 +0000 |
---|---|---|
committer | stroese <stroese> | 2004-12-16 18:09:49 +0000 |
commit | 8c725b9364ac92338d659dd31457223ed0e7f538 (patch) | |
tree | 1b3b242cc9c885fbab4fa338868f78a7218536be /cpu/mcf52x2/speed.c | |
parent | a20b27a36b7b1f593e18b4efd506e5f01a392dc6 (diff) | |
download | u-boot-imx-8c725b9364ac92338d659dd31457223ed0e7f538.zip u-boot-imx-8c725b9364ac92338d659dd31457223ed0e7f538.tar.gz u-boot-imx-8c725b9364ac92338d659dd31457223ed0e7f538.tar.bz2 |
Coldfire MCF5249 support added
Diffstat (limited to 'cpu/mcf52x2/speed.c')
-rw-r--r-- | cpu/mcf52x2/speed.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cpu/mcf52x2/speed.c b/cpu/mcf52x2/speed.c index 8d5c92f..519c992 100644 --- a/cpu/mcf52x2/speed.c +++ b/cpu/mcf52x2/speed.c @@ -32,6 +32,10 @@ int get_clocks (void) DECLARE_GLOBAL_DATA_PTR; gd->cpu_clk = CFG_CLK; +#ifdef CONFIG_M5249 + gd->bus_clk = gd->cpu_clk / 2; +#else gd->bus_clk = gd->cpu_clk; +#endif return (0); } |