From: Sascha Hauer <s.hauer@pengutronix.de>
To: barebox@lists.infradead.org
Subject: [PATCH 1/2] ARM: i.MX: Make timer available earlier
Date: Mon, 17 Jun 2013 11:31:43 +0200 [thread overview]
Message-ID: <1371461504-18782-1-git-send-email-s.hauer@pengutronix.de> (raw)
This moves the CCM drivers to core_initcall since this has no dependencies.
This way we can be sure that the clock for the clocksource is available in
at postcore_initcall time.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
arch/arm/mach-imx/clk-imx1.c | 2 +-
arch/arm/mach-imx/clk-imx21.c | 2 +-
arch/arm/mach-imx/clk-imx25.c | 2 +-
arch/arm/mach-imx/clk-imx27.c | 2 +-
arch/arm/mach-imx/clk-imx31.c | 2 +-
arch/arm/mach-imx/clk-imx35.c | 2 +-
arch/arm/mach-imx/clk-imx5.c | 4 ++--
arch/arm/mach-imx/clk-imx6.c | 2 +-
arch/arm/mach-imx/clocksource.c | 2 +-
9 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/arch/arm/mach-imx/clk-imx1.c b/arch/arm/mach-imx/clk-imx1.c
index 0d04a92..6fcd6fa 100644
--- a/arch/arm/mach-imx/clk-imx1.c
+++ b/arch/arm/mach-imx/clk-imx1.c
@@ -114,4 +114,4 @@ static int imx1_ccm_init(void)
{
return platform_driver_register(&imx1_ccm_driver);
}
-postcore_initcall(imx1_ccm_init);
+core_initcall(imx1_ccm_init);
diff --git a/arch/arm/mach-imx/clk-imx21.c b/arch/arm/mach-imx/clk-imx21.c
index 6e91424..295ef3a 100644
--- a/arch/arm/mach-imx/clk-imx21.c
+++ b/arch/arm/mach-imx/clk-imx21.c
@@ -189,4 +189,4 @@ static int imx21_ccm_init(void)
{
return platform_driver_register(&imx21_ccm_driver);
}
-postcore_initcall(imx21_ccm_init);
+core_initcall(imx21_ccm_init);
diff --git a/arch/arm/mach-imx/clk-imx25.c b/arch/arm/mach-imx/clk-imx25.c
index 95b105d..9817990 100644
--- a/arch/arm/mach-imx/clk-imx25.c
+++ b/arch/arm/mach-imx/clk-imx25.c
@@ -174,4 +174,4 @@ static int imx25_ccm_init(void)
{
return platform_driver_register(&imx25_ccm_driver);
}
-postcore_initcall(imx25_ccm_init);
+core_initcall(imx25_ccm_init);
diff --git a/arch/arm/mach-imx/clk-imx27.c b/arch/arm/mach-imx/clk-imx27.c
index e221928..6fd3cd6 100644
--- a/arch/arm/mach-imx/clk-imx27.c
+++ b/arch/arm/mach-imx/clk-imx27.c
@@ -229,4 +229,4 @@ static int imx27_ccm_init(void)
{
return platform_driver_register(&imx27_ccm_driver);
}
-postcore_initcall(imx27_ccm_init);
+core_initcall(imx27_ccm_init);
diff --git a/arch/arm/mach-imx/clk-imx31.c b/arch/arm/mach-imx/clk-imx31.c
index aa1b652..4935595 100644
--- a/arch/arm/mach-imx/clk-imx31.c
+++ b/arch/arm/mach-imx/clk-imx31.c
@@ -139,4 +139,4 @@ static int imx31_ccm_init(void)
{
return platform_driver_register(&imx31_ccm_driver);
}
-postcore_initcall(imx31_ccm_init);
+core_initcall(imx31_ccm_init);
diff --git a/arch/arm/mach-imx/clk-imx35.c b/arch/arm/mach-imx/clk-imx35.c
index f50c07d..6ea4577 100644
--- a/arch/arm/mach-imx/clk-imx35.c
+++ b/arch/arm/mach-imx/clk-imx35.c
@@ -192,4 +192,4 @@ static int imx35_ccm_init(void)
{
return platform_driver_register(&imx35_ccm_driver);
}
-postcore_initcall(imx35_ccm_init);
+core_initcall(imx35_ccm_init);
diff --git a/arch/arm/mach-imx/clk-imx5.c b/arch/arm/mach-imx/clk-imx5.c
index 8b5bffd..8c7ed1c 100644
--- a/arch/arm/mach-imx/clk-imx5.c
+++ b/arch/arm/mach-imx/clk-imx5.c
@@ -253,7 +253,7 @@ static int imx51_ccm_init(void)
{
return platform_driver_register(&imx51_ccm_driver);
}
-postcore_initcall(imx51_ccm_init);
+core_initcall(imx51_ccm_init);
#endif
#ifdef CONFIG_ARCH_IMX53
@@ -316,5 +316,5 @@ static int imx53_ccm_init(void)
{
return platform_driver_register(&imx53_ccm_driver);
}
-postcore_initcall(imx53_ccm_init);
+core_initcall(imx53_ccm_init);
#endif
diff --git a/arch/arm/mach-imx/clk-imx6.c b/arch/arm/mach-imx/clk-imx6.c
index 5c84df2..3061779 100644
--- a/arch/arm/mach-imx/clk-imx6.c
+++ b/arch/arm/mach-imx/clk-imx6.c
@@ -337,4 +337,4 @@ static int imx6_ccm_init(void)
{
return platform_driver_register(&imx6_ccm_driver);
}
-postcore_initcall(imx6_ccm_init);
+core_initcall(imx6_ccm_init);
diff --git a/arch/arm/mach-imx/clocksource.c b/arch/arm/mach-imx/clocksource.c
index e18685e..c04af63 100644
--- a/arch/arm/mach-imx/clocksource.c
+++ b/arch/arm/mach-imx/clocksource.c
@@ -165,4 +165,4 @@ static int imx_gpt_init(void)
{
return platform_driver_register(&imx_gpt_driver);
}
-coredevice_initcall(imx_gpt_init);
+postcore_initcall(imx_gpt_init);
--
1.8.3.1
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next reply other threads:[~2013-06-17 9:32 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-17 9:31 Sascha Hauer [this message]
2013-06-17 9:31 ` [PATCH 2/2] gpio: i.MX: initialize earlier 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=1371461504-18782-1-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