[U-Boot] [PATCH V2] MX27: add missing get_tbclk()

Stefano Babic sbabic at denx.de
Wed Feb 8 09:28:17 CET 2012


Signed-off-by: Stefano Babic <sbabic at denx.de>
---
Changes since V1:
	- return directly CONFIG_MX27_CLK32
	instead using temporary variable (Marek Vasut)

 arch/arm/cpu/arm926ejs/mx27/timer.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/arch/arm/cpu/arm926ejs/mx27/timer.c b/arch/arm/cpu/arm926ejs/mx27/timer.c
index 5af9359..a5dd684 100644
--- a/arch/arm/cpu/arm926ejs/mx27/timer.c
+++ b/arch/arm/cpu/arm926ejs/mx27/timer.c
@@ -171,3 +171,8 @@ void __udelay(unsigned long usec)
 	while (get_ticks() < tmp)	/* loop till event */
 		 /*NOP*/;
 }
+
+ulong get_tbclk(void)
+{
+	return CONFIG_MX27_CLK32;
+}
-- 
1.7.5.4



More information about the U-Boot mailing list