From mboxrd@z Thu Jan 1 00:00:00 1970 From: Albert ARIBAUD Date: Tue, 4 Sep 2012 21:34:03 +0200 Subject: [U-Boot] [PATCH 1/2] arm: Adds board_postclk_init to the init_sequence. In-Reply-To: <504653E6.4020602@googlemail.com> References: <1345141329-1084-1-git-send-email-mhubig@imko.de> <1345141329-1084-2-git-send-email-mhubig@imko.de> <504653E6.4020602@googlemail.com> Message-ID: <20120904213403.7851215a@lilith> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Andreas, On Tue, 04 Sep 2012 21:17:58 +0200, Andreas Bie?mann wrote: > Dear Albert Aribaud, > > On 16.08.12 20:22, Markus Hubig wrote: > > The board_postclk_init() function can be used to perform operations > > that requires a working timer early within the U-Boot init_sequence. > > > > Signed-off-by: Markus Hubig > > Cc: Albert ARIBAUD > > --- > > arch/arm/lib/board.c | 3 +++ > > 1 files changed, 3 insertions(+), 0 deletions(-) > > > > diff --git a/arch/arm/lib/board.c b/arch/arm/lib/board.c > > index f1951e8..109a1ac 100644 > > --- a/arch/arm/lib/board.c > > +++ b/arch/arm/lib/board.c > > @@ -241,6 +241,9 @@ init_fnc_t *init_sequence[] = { > > fdtdec_check_fdt, > > #endif > > timer_init, /* initialize timer */ > > +#ifdef CONFIG_BOARD_POSTCLK_INIT > > + board_postclk_init, > > +#endif > > #ifdef CONFIG_FSL_ESDHC > > get_clocks, > > #endif > > > > how do you think about this suggestion? Will you accept it? Should I > apply both patches to u-boot-atmel? >From what I see, this converges with what's been in PPC for a long time... I'm ok with the series going into atmel. > Best regards > > Andreas Bie?mann Amicalement, -- Albert.