From: Sascha Hauer <s.hauer@pengutronix.de>
To: barebox@lists.infradead.org
Subject: [PATCH 07/24] add to speed
Date: Fri, 7 Jan 2011 11:43:47 +0100 [thread overview]
Message-ID: <1294397044-5008-8-git-send-email-s.hauer@pengutronix.de> (raw)
In-Reply-To: <1294397044-5008-1-git-send-email-s.hauer@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
arch/arm/mach-imx/speed-imx1.c | 20 ++++++++++----------
arch/arm/mach-imx/speed-imx21.c | 20 ++++++++++----------
arch/arm/mach-imx/speed-imx25.c | 20 ++++++++++----------
arch/arm/mach-imx/speed-imx31.c | 4 ++--
arch/arm/mach-imx/speed-imx35.c | 18 +++++++++---------
5 files changed, 41 insertions(+), 41 deletions(-)
diff --git a/arch/arm/mach-imx/speed-imx1.c b/arch/arm/mach-imx/speed-imx1.c
index a4b4f96..6fd549f 100644
--- a/arch/arm/mach-imx/speed-imx1.c
+++ b/arch/arm/mach-imx/speed-imx1.c
@@ -81,15 +81,15 @@ ulong imx_get_gptclk(void)
void imx_dump_clocks(void)
{
- printf("spll: %10d Hz\n", imx_get_spllclk());
- printf("mpll: %10d Hz\n", imx_get_mpllclk());
- printf("fclk: %10d Hz\n", imx_get_fclk());
- printf("hclk: %10d Hz\n", imx_get_hclk());
- printf("bclk: %10d Hz\n", imx_get_bclk());
- printf("perclk1: %10d Hz\n", imx_get_perclk1());
- printf("perclk2: %10d Hz\n", imx_get_perclk2());
- printf("perclk3: %10d Hz\n", imx_get_perclk3());
- printf("uart: %10d Hz\n", imx_get_uartclk());
- printf("gpt: %10d Hz\n", imx_get_gptclk());
+ printf("spll: %10ld Hz\n", imx_get_spllclk());
+ printf("mpll: %10ld Hz\n", imx_get_mpllclk());
+ printf("fclk: %10ld Hz\n", imx_get_fclk());
+ printf("hclk: %10ld Hz\n", imx_get_hclk());
+ printf("bclk: %10ld Hz\n", imx_get_bclk());
+ printf("perclk1: %10ld Hz\n", imx_get_perclk1());
+ printf("perclk2: %10ld Hz\n", imx_get_perclk2());
+ printf("perclk3: %10ld Hz\n", imx_get_perclk3());
+ printf("uart: %10ld Hz\n", imx_get_uartclk());
+ printf("gpt: %10ld Hz\n", imx_get_gptclk());
}
diff --git a/arch/arm/mach-imx/speed-imx21.c b/arch/arm/mach-imx/speed-imx21.c
index 9ae8026..6ab1dca 100644
--- a/arch/arm/mach-imx/speed-imx21.c
+++ b/arch/arm/mach-imx/speed-imx21.c
@@ -145,16 +145,16 @@ void imx_dump_clocks(void)
uint32_t cid = CID;
printf("chip id: [%08x]\n", cid);
- printf("mpll: %10d Hz\n", imx_get_mpllclk());
- printf("spll: %10d Hz\n", imx_get_spllclk());
- printf("arm: %10d Hz\n", imx_get_armclk());
- printf("fclk: %10d Hz\n", imx_get_fclk());
- printf("nfcclk: %10d Hz\n", imx_get_nfcclk());
- printf("perclk1: %10d Hz\n", imx_get_perclk1());
- printf("perclk2: %10d Hz\n", imx_get_perclk2());
- printf("perclk3: %10d Hz\n", imx_get_perclk3());
- printf("perclk4: %10d Hz\n", imx_get_perclk4());
- printf("clkin26: %10d Hz\n", clk_in_26m());
+ printf("mpll: %10ld Hz\n", imx_get_mpllclk());
+ printf("spll: %10ld Hz\n", imx_get_spllclk());
+ printf("arm: %10ld Hz\n", imx_get_armclk());
+ printf("fclk: %10ld Hz\n", imx_get_fclk());
+ printf("nfcclk: %10ld Hz\n", imx_get_nfcclk());
+ printf("perclk1: %10ld Hz\n", imx_get_perclk1());
+ printf("perclk2: %10ld Hz\n", imx_get_perclk2());
+ printf("perclk3: %10ld Hz\n", imx_get_perclk3());
+ printf("perclk4: %10ld Hz\n", imx_get_perclk4());
+ printf("clkin26: %10ld Hz\n", clk_in_26m());
}
/*
diff --git a/arch/arm/mach-imx/speed-imx25.c b/arch/arm/mach-imx/speed-imx25.c
index cb28e9f..68b50e9 100644
--- a/arch/arm/mach-imx/speed-imx25.c
+++ b/arch/arm/mach-imx/speed-imx25.c
@@ -89,16 +89,16 @@ unsigned long imx_get_mmcclk(void)
void imx_dump_clocks(void)
{
- printf("mpll: %10d Hz\n", imx_get_mpllclk());
- printf("upll: %10d Hz\n", imx_get_upllclk());
- printf("arm: %10d Hz\n", imx_get_armclk());
- printf("ahb: %10d Hz\n", imx_get_ahbclk());
- printf("uart: %10d Hz\n", imx_get_perclk(15));
- printf("gpt: %10d Hz\n", imx_get_ipgclk());
- printf("nand: %10d Hz\n", imx_get_perclk(8));
- printf("lcd: %10d Hz\n", imx_get_perclk(7));
- printf("i2c: %10d Hz\n", imx_get_perclk(6));
- printf("sdhc1: %10d Hz\n", imx_get_perclk(3));
+ printf("mpll: %10ld Hz\n", imx_get_mpllclk());
+ printf("upll: %10ld Hz\n", imx_get_upllclk());
+ printf("arm: %10ld Hz\n", imx_get_armclk());
+ printf("ahb: %10ld Hz\n", imx_get_ahbclk());
+ printf("uart: %10ld Hz\n", imx_get_perclk(15));
+ printf("gpt: %10ld Hz\n", imx_get_ipgclk());
+ printf("nand: %10ld Hz\n", imx_get_perclk(8));
+ printf("lcd: %10ld Hz\n", imx_get_perclk(7));
+ printf("i2c: %10ld Hz\n", imx_get_perclk(6));
+ printf("sdhc1: %10ld Hz\n", imx_get_perclk(3));
}
/*
diff --git a/arch/arm/mach-imx/speed-imx31.c b/arch/arm/mach-imx/speed-imx31.c
index 70b1330..32a517d 100644
--- a/arch/arm/mach-imx/speed-imx31.c
+++ b/arch/arm/mach-imx/speed-imx31.c
@@ -67,8 +67,8 @@ ulong imx_get_perclk1(void)
void imx_dump_clocks(void)
{
ulong cpufreq = imx_get_mcu_main_clk();
- printf("mx31 cpu clock: %dMHz\n",cpufreq / 1000000);
- printf("ipg clock : %dHz\n", imx_get_perclk1());
+ printf("mx31 cpu clock: %ldMHz\n",cpufreq / 1000000);
+ printf("ipg clock : %ldHz\n", imx_get_perclk1());
}
ulong imx_get_uartclk(void)
diff --git a/arch/arm/mach-imx/speed-imx35.c b/arch/arm/mach-imx/speed-imx35.c
index 8937ef1..b2a339c 100644
--- a/arch/arm/mach-imx/speed-imx35.c
+++ b/arch/arm/mach-imx/speed-imx35.c
@@ -187,15 +187,15 @@ ulong imx_get_i2cclk(void)
void imx_dump_clocks(void)
{
- printf("mpll: %10d Hz\n", imx_get_mpllclk());
- printf("ppll: %10d Hz\n", imx_get_ppllclk());
- printf("arm: %10d Hz\n", imx_get_armclk());
- printf("gpt: %10d Hz\n", imx_get_gptclk());
- printf("ahb: %10d Hz\n", imx_get_ahbclk());
- printf("ipg: %10d Hz\n", imx_get_ipgclk());
- printf("ipg_per: %10d Hz\n", imx_get_ipg_perclk());
- printf("uart: %10d Hz\n", imx_get_uartclk());
- printf("sdhc1: %10d Hz\n", imx_get_mmcclk());
+ printf("mpll: %10ld Hz\n", imx_get_mpllclk());
+ printf("ppll: %10ld Hz\n", imx_get_ppllclk());
+ printf("arm: %10ld Hz\n", imx_get_armclk());
+ printf("gpt: %10ld Hz\n", imx_get_gptclk());
+ printf("ahb: %10ld Hz\n", imx_get_ahbclk());
+ printf("ipg: %10ld Hz\n", imx_get_ipgclk());
+ printf("ipg_per: %10ld Hz\n", imx_get_ipg_perclk());
+ printf("uart: %10ld Hz\n", imx_get_uartclk());
+ printf("sdhc1: %10ld Hz\n", imx_get_mmcclk());
}
/*
--
1.7.2.3
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next prev parent reply other threads:[~2011-01-07 10:44 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-07 10:43 fix printf related compiler warnings Sascha Hauer
2011-01-07 10:43 ` [PATCH 01/24] i.MX: fix printf " Sascha Hauer
2011-01-07 10:43 ` [PATCH 02/24] net: " Sascha Hauer
2011-01-07 10:43 ` [PATCH 03/24] fec_imx: " Sascha Hauer
2011-01-07 10:43 ` [PATCH 04/24] nand: " Sascha Hauer
2011-01-07 10:43 ` [PATCH 05/24] cdev: " Sascha Hauer
2011-01-07 10:43 ` [PATCH 06/24] usb: add missing byteorder include Sascha Hauer
2011-01-07 10:43 ` Sascha Hauer [this message]
2011-01-10 19:49 ` [PATCH 07/24] add to speed Uwe Kleine-König
2011-01-07 10:43 ` [PATCH 08/24] eukrea_cpuimx35: fix printf compiler warnings Sascha Hauer
2011-01-07 10:43 ` [PATCH 09/24] blackfin: " Sascha Hauer
2011-01-07 10:43 ` [PATCH 10/24] cs8900: " Sascha Hauer
2011-01-07 10:43 ` [PATCH 11/24] dm9000: " Sascha Hauer
2011-01-07 10:43 ` [PATCH 12/24] smc911x: " Sascha Hauer
2011-01-07 10:43 ` [PATCH 13/24] ipe337: " Sascha Hauer
2011-01-07 10:43 ` [PATCH 14/24] device tree: " Sascha Hauer
2011-01-07 10:43 ` [PATCH 15/24] netx: " Sascha Hauer
2011-01-07 10:43 ` [PATCH 16/24] guf-cupid: " Sascha Hauer
2011-01-07 10:43 ` [PATCH 17/24] pcm043: " Sascha Hauer
2011-01-07 10:43 ` [PATCH 18/24] at91: " Sascha Hauer
2011-01-07 10:43 ` [PATCH 19/24] ppc: " Sascha Hauer
2011-01-07 10:44 ` [PATCH 20/24] imx-esdhc: " Sascha Hauer
2011-01-07 10:44 ` [PATCH 21/24] mci-core: " Sascha Hauer
2011-01-07 10:44 ` [PATCH 22/24] imx-ipu-fb: " Sascha Hauer
2011-01-07 10:44 ` [PATCH 23/24] mpc5xxx: " Sascha Hauer
2011-01-07 10:44 ` [PATCH 24/24] i.MX nand: do not select NAND_IMX_BOOT Sascha Hauer
2011-01-07 11:05 ` Juergen Beisert
2011-01-07 11:14 ` Sascha Hauer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1294397044-5008-8-git-send-email-s.hauer@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox