diff options
author | Andrew Ruder <andrew.ruder@elecsyscorp.com> | 2014-08-12 09:26:01 -0500 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2014-09-16 12:53:09 +0200 |
commit | 816264fc6672dbb7c7b22ad9e67b8d0056873394 (patch) | |
tree | 7b34c0a35ea48fd8cef36d34c0e38215a22ff91b /fs | |
parent | 93a0ea501e1eca1ae5d7d2624906b656c765e5e8 (diff) | |
download | u-boot-imx-816264fc6672dbb7c7b22ad9e67b8d0056873394.zip u-boot-imx-816264fc6672dbb7c7b22ad9e67b8d0056873394.tar.gz u-boot-imx-816264fc6672dbb7c7b22ad9e67b8d0056873394.tar.bz2 |
arm: mx35: use common timer functions
This patch moves mx35 to the common timer functions added in commit
8dfafdd - Introduce common timer functions <Rob Herring>
The (removed) mx35 timer code (specifically __udelay()) could deadlock at
the 32-bit boundary of get_ticks(). get_ticks() returned a 32-bit value
cast up to a 64-bit value. If get_ticks() + tmo in __udelay() crossed
the 32-bit boundary, the while condition became unconditionally true and
locks the processor. Rather than patch the specific mx35 issues, simply
move everything over to the common code.
Signed-off-by: Andrew Ruder <andrew.ruder@elecsyscorp.com>
Cc: Marek Vasut <marex@denx.de>
Cc: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions