]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - arch/arm/cpu/armv7/zynq/timer.c
mx6slevk: Include "mx6_common.h"
[karo-tx-uboot.git] / arch / arm / cpu / armv7 / zynq / timer.c
index 0133565299fbb89e4c1a96d51edef54eaaebb5a2..636322a8e5728de647c8a333b0a2feb9b1b730ed 100644 (file)
@@ -22,7 +22,7 @@
  * Sysgo Real-Time Solutions, GmbH <www.elinos.com>
  * Alex Zuepke <azu@sysgo.de>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
@@ -57,7 +57,7 @@ int timer_init(void)
                        SCUTIMER_CONTROL_ENABLE_MASK;
 
        /* Load the timer counter register */
-       writel(0xFFFFFFFF, &timer_base->counter);
+       writel(0xFFFFFFFF, &timer_base->load);
 
        /*
         * Start the A9Timer device