summaryrefslogtreecommitdiffstats
path: root/cpu/mcf52x2/speed.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2009-02-07 23:24:38 +0100
committerWolfgang Denk <wd@denx.de>2009-02-07 23:24:38 +0100
commit0cfa6a9de618e9492069172635697c9ceb023642 (patch)
tree17611c1f270d75ed34431bacd1073594e1dd81e0 /cpu/mcf52x2/speed.c
parent045639397df535b7eac820b9dc3e4814ae16f19d (diff)
parent6989e4f546d960a407dd5425f800dff9751c8132 (diff)
downloadtalos-obmc-uboot-0cfa6a9de618e9492069172635697c9ceb023642.tar.gz
talos-obmc-uboot-0cfa6a9de618e9492069172635697c9ceb023642.zip
Merge branch 'master' of git://git.denx.de/u-boot-coldfire
Diffstat (limited to 'cpu/mcf52x2/speed.c')
-rw-r--r--cpu/mcf52x2/speed.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpu/mcf52x2/speed.c b/cpu/mcf52x2/speed.c
index fe51fb4803..c93a5180eb 100644
--- a/cpu/mcf52x2/speed.c
+++ b/cpu/mcf52x2/speed.c
@@ -77,7 +77,8 @@ int get_clocks (void)
#endif
gd->cpu_clk = CONFIG_SYS_CLK;
-#if defined(CONFIG_M5249) || defined(CONFIG_M5253) || defined(CONFIG_M5275)
+#if defined(CONFIG_M5249) || defined(CONFIG_M5253) || \
+ defined(CONFIG_M5271) || defined(CONFIG_M5275)
gd->bus_clk = gd->cpu_clk / 2;
#else
gd->bus_clk = gd->cpu_clk;
OpenPOWER on IntegriCloud