Signed-off-by: Daniel Gorsulowski <daniel.gorsulow...@esd.eu>
---
 arch/arm/cpu/armv7/omap-common/timer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/cpu/armv7/omap-common/timer.c 
b/arch/arm/cpu/armv7/omap-common/timer.c
index 032bd2c..49e3a97 100644
--- a/arch/arm/cpu/armv7/omap-common/timer.c
+++ b/arch/arm/cpu/armv7/omap-common/timer.c
@@ -77,7 +77,7 @@ ulong get_timer_masked(void)
                /* move stamp fordward with absoulte diff ticks */
                gd->arch.tbl += (now - gd->arch.lastinc);
        } else {        /* we have rollover of incrementer */
-               gd->arch.tbl += ((TIMER_LOAD_VAL / (TIMER_CLOCK /
+               gd->arch.tbl += ((TIMER_OVERFLOW_VAL / (TIMER_CLOCK /
                                CONFIG_SYS_HZ)) - gd->arch.lastinc) + now;
        }
        gd->arch.lastinc = now;
-- 
2.7.1

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to