]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
Revert "Xilinx: ARM: remove A9 timer prescaling"
authorJohn Linn <john.linn@xilinx.com>
Wed, 14 Jul 2010 19:07:13 +0000 (13:07 -0600)
committerJohn Linn <john.linn@xilinx.com>
Wed, 14 Jul 2010 19:42:25 +0000 (13:42 -0600)
This reverts commit 643cfbe150edb9879a62bb327db498d3ac1c0204.

This change was causing a problem with the GEM timing out when doing
a TFTP.

cpu/arm_cortexa8/pele/timer.c

index 6bbafbc34c38a20f62b20e283ee08a3d1f936b60..48433b524bf3dedfb76c840b550ac534bc689cf3 100644 (file)
@@ -87,7 +87,7 @@ int timer_init()
        /* Clear prescaler control bits */
        val &= ~XSCUTIMER_CONTROL_PRESCALER_MASK;
        /* Set prescaler value */
-//     val |= (0xFF << XSCUTIMER_CONTROL_PRESCALER_SHIFT);
+       val |= (0xFF << XSCUTIMER_CONTROL_PRESCALER_SHIFT);
        /* Enable the decrementer */
        val |= XSCUTIMER_CONTROL_ENABLE_MASK;
        XScuTimer_WriteReg(XSCUTIMER_CONTROL_OFFSET, val);