From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Babic Date: Wed, 08 Feb 2012 09:00:01 +0100 Subject: [U-Boot] [PATCH] MX27: add missing get_tbclk() In-Reply-To: <201202072226.21911.marek.vasut@gmail.com> References: <1328636027-23321-1-git-send-email-sbabic@denx.de> <201202072226.21911.marek.vasut@gmail.com> Message-ID: <4F322B81.9050301@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 07/02/2012 22:26, Marek Vasut wrote: >> Signed-off-by: Stefano Babic >> --- >> arch/arm/cpu/arm926ejs/mx27/timer.c | 8 ++++++++ >> 1 files changed, 8 insertions(+), 0 deletions(-) >> >> diff --git a/arch/arm/cpu/arm926ejs/mx27/timer.c >> b/arch/arm/cpu/arm926ejs/mx27/timer.c index 5af9359..226c0a5 100644 >> --- a/arch/arm/cpu/arm926ejs/mx27/timer.c >> +++ b/arch/arm/cpu/arm926ejs/mx27/timer.c >> @@ -171,3 +171,11 @@ void __udelay(unsigned long usec) >> while (get_ticks() < tmp) /* loop till event */ >> /*NOP*/; >> } >> + >> +ulong get_tbclk(void) >> +{ >> + ulong tbclk; >> + >> + tbclk = CONFIG_MX27_CLK32; >> + return tbclk; >> +} > > Why not simply ... return CONFIG... ? Yes, right, as I already did for the other i.MX.... Fixed in V2 Stefano -- ===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de =====================================================================