From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-bk0-x230.google.com ([2a00:1450:4008:c01::230]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Uu5MH-000634-6L for barebox@lists.infradead.org; Tue, 02 Jul 2013 18:31:24 +0000 Received: by mail-bk0-f48.google.com with SMTP id jf17so2488911bkc.7 for ; Tue, 02 Jul 2013 11:30:58 -0700 (PDT) From: Sebastian Hesselbarth Date: Tue, 2 Jul 2013 20:30:40 +0200 Message-Id: <1372789849-12194-2-git-send-email-sebastian.hesselbarth@gmail.com> In-Reply-To: <1372443947-12599-1-git-send-email-sebastian.hesselbarth@gmail.com> References: <1372443947-12599-1-git-send-email-sebastian.hesselbarth@gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH v2 01/10] ARM: mvebu: move soc_init to core_initcall To: Sebastian Hesselbarth Cc: Thomas Petazzoni , barebox@lists.infradead.org Clocks need to be accessed early for DT support, so move soc_init to core_initcall instead of postcore_initcall. Signed-off-by: Sebastian Hesselbarth --- Cc: Thomas Petazzoni Cc: barebox@lists.infradead.org --- arch/arm/mach-mvebu/armada-370-xp.c | 2 +- arch/arm/mach-mvebu/dove.c | 2 +- arch/arm/mach-mvebu/kirkwood.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-mvebu/armada-370-xp.c b/arch/arm/mach-mvebu/armada-370-xp.c index 2cdc3b0..1d64861 100644 --- a/arch/arm/mach-mvebu/armada-370-xp.c +++ b/arch/arm/mach-mvebu/armada-370-xp.c @@ -109,7 +109,7 @@ static int armada_370_xp_init_soc(void) armada_370_xp_add_uart(); return 0; } -postcore_initcall(armada_370_xp_init_soc); +core_initcall(armada_370_xp_init_soc); void __noreturn reset_cpu(unsigned long addr) { diff --git a/arch/arm/mach-mvebu/dove.c b/arch/arm/mach-mvebu/dove.c index 6e8e113..ee63917 100644 --- a/arch/arm/mach-mvebu/dove.c +++ b/arch/arm/mach-mvebu/dove.c @@ -132,7 +132,7 @@ static int dove_init_soc(void) return 0; } -postcore_initcall(dove_init_soc); +core_initcall(dove_init_soc); void __noreturn reset_cpu(unsigned long addr) { diff --git a/arch/arm/mach-mvebu/kirkwood.c b/arch/arm/mach-mvebu/kirkwood.c index 3e16f41..9e43dae 100644 --- a/arch/arm/mach-mvebu/kirkwood.c +++ b/arch/arm/mach-mvebu/kirkwood.c @@ -95,7 +95,7 @@ static int kirkwood_init_soc(void) return 0; } -postcore_initcall(kirkwood_init_soc); +core_initcall(kirkwood_init_soc); void __noreturn reset_cpu(unsigned long addr) { -- 1.7.2.5 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox