diff options
author | Jason Liu <jason.hui@linaro.org> | 2011-08-26 01:35:23 -0400 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2011-08-26 02:51:00 -0400 |
commit | c52c983551ba3fb991f91eff4d924a375b0f9b83 (patch) | |
tree | 514eae16cd8bbaf5916aa62781e2f025ec8f57e5 /arch/arm/mach-mx5/clock-mx51-mx53.c | |
parent | 8d75a2620dc3e33ce504044c375c443ed7ed4128 (diff) |
ARM: mx5: use generic function for displaying silicon revision
Update to use generic function for displaying silicon revision
Tested on my mx53 loco board:
CPU identified as i.MX53, silicon rev 2.0
Test on my mx51 babbage board:
CPU identified as i.MX51, silicon rev 3.0
Signed-off-by: Jason Liu <jason.hui@linaro.org>
Cc: Fabio Estevam <fabio.estevam@freescale.com>
Cc: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mx5/clock-mx51-mx53.c')
-rw-r--r-- | arch/arm/mach-mx5/clock-mx51-mx53.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/arm/mach-mx5/clock-mx51-mx53.c b/arch/arm/mach-mx5/clock-mx51-mx53.c index f7bf996f463b..0e23e1d2af9c 100644 --- a/arch/arm/mach-mx5/clock-mx51-mx53.c +++ b/arch/arm/mach-mx5/clock-mx51-mx53.c | |||
@@ -1548,9 +1548,8 @@ int __init mx51_clocks_init(unsigned long ckil, unsigned long osc, | |||
1548 | clk_enable(&main_bus_clk); | 1548 | clk_enable(&main_bus_clk); |
1549 | 1549 | ||
1550 | clk_enable(&iim_clk); | 1550 | clk_enable(&iim_clk); |
1551 | mx51_revision(); | 1551 | imx_print_silicon_rev("i.MX51", mx51_revision()); |
1552 | clk_disable(&iim_clk); | 1552 | clk_disable(&iim_clk); |
1553 | mx51_display_revision(); | ||
1554 | 1553 | ||
1555 | /* move usb_phy_clk to 24MHz */ | 1554 | /* move usb_phy_clk to 24MHz */ |
1556 | clk_set_parent(&usb_phy1_clk, &osc_clk); | 1555 | clk_set_parent(&usb_phy1_clk, &osc_clk); |
@@ -1592,9 +1591,8 @@ int __init mx53_clocks_init(unsigned long ckil, unsigned long osc, | |||
1592 | clk_enable(&main_bus_clk); | 1591 | clk_enable(&main_bus_clk); |
1593 | 1592 | ||
1594 | clk_enable(&iim_clk); | 1593 | clk_enable(&iim_clk); |
1595 | mx53_revision(); | 1594 | imx_print_silicon_rev("i.MX53", mx53_revision()); |
1596 | clk_disable(&iim_clk); | 1595 | clk_disable(&iim_clk); |
1597 | mx53_display_revision(); | ||
1598 | 1596 | ||
1599 | /* Set SDHC parents to be PLL2 */ | 1597 | /* Set SDHC parents to be PLL2 */ |
1600 | clk_set_parent(&esdhc1_clk, &pll2_sw_clk); | 1598 | clk_set_parent(&esdhc1_clk, &pll2_sw_clk); |