[U-Boot] [PATCH 05/10] ZOOM2: rename timer divisor

Tom Rix Tom.Rix at windriver.com
Tue Apr 14 16:40:58 CEST 2009


Divisor field is called PTV not PVT.

This change is needed because of earlier OMAP commit
81472d893fa565c9d300928a40e504a689bde131
of the same name

Signed-off-by: Tom Rix <Tom.Rix at windriver.com>
---
 include/configs/omap3_zoom2.h |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/include/configs/omap3_zoom2.h b/include/configs/omap3_zoom2.h
index 7c1bf65..8f09dd8 100644
--- a/include/configs/omap3_zoom2.h
+++ b/include/configs/omap3_zoom2.h
@@ -170,11 +170,9 @@
  * 2430 has 12 GP timers, they can be driven by the SysClk (12/13/19.2) or by
  * 32KHz clk, or from external sig. This rate is divided by a local divisor.
  */
-#define V_PVT				7
-
 #define CONFIG_SYS_TIMERBASE		(OMAP34XX_GPT2)
-#define CONFIG_SYS_PVT			V_PVT	/* 2^(pvt+1) */
-#define CONFIG_SYS_HZ			((V_SCLK) / (2 << CONFIG_SYS_PVT))
+#define CONFIG_SYS_PTV			7	/* 2^(PTV+1) */
+#define CONFIG_SYS_HZ			((V_SCLK) / (2 << CONFIG_SYS_PTV))
 
 /*-----------------------------------------------------------------------
  * Stack sizes
-- 
1.6.0.5



More information about the U-Boot mailing list