summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx/speed-imx21.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2009-08-04 14:27:42 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2009-08-19 10:52:00 +0200
commitef523775dff83e3179667e3a2eb67c6b046a953f (patch)
treee0fbd27f081a5ee186fa4e9178684d35a3852df3 /arch/arm/mach-imx/speed-imx21.c
parent2de49268d3cfb7773f548a8e1b7ef89eb16ca1cb (diff)
downloadbarebox-ef523775dff83e3179667e3a2eb67c6b046a953f.tar.gz
barebox-ef523775dff83e3179667e3a2eb67c6b046a953f.tar.xz
i.MX: Do not dump clocks on startup.
Instead, add a command dump_clocks to print the clocks during runtime. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-imx/speed-imx21.c')
-rw-r--r--arch/arm/mach-imx/speed-imx21.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/arm/mach-imx/speed-imx21.c b/arch/arm/mach-imx/speed-imx21.c
index 536e9ce71f..c9d6d88351 100644
--- a/arch/arm/mach-imx/speed-imx21.c
+++ b/arch/arm/mach-imx/speed-imx21.c
@@ -135,7 +135,7 @@ ulong imx_get_gptclk(void)
return imx_decode_perclk((PCDR1 & 0x3f) + 1);
}
-int imx_dump_clocks(void)
+void imx_dump_clocks(void)
{
uint32_t cid = CID;
@@ -153,8 +153,6 @@ int imx_dump_clocks(void)
return 0;
}
-late_initcall(imx_dump_clocks);
-
/*
* Set the divider of the CLKO pin (when CLK48DIV_CLKO is chosen).
* Returns the new divider (which may be smaller