diff options
author | Liu Ying <Ying.Liu@freescale.com> | 2012-10-06 04:16:04 +0000 |
---|---|---|
committer | Anatolij Gustschin <agust@denx.de> | 2012-11-06 22:24:11 +0100 |
commit | 945d069fb5c8932e74aeba178c60a9dc6e9cba93 (patch) | |
tree | 6f8361c6771812663f2654467219bd7acd9dd513 /post/lib_powerpc/cmp.c | |
parent | 1cc619be8b73abbee2fd6faf2cd4ade27b516531 (diff) | |
download | u-boot-imx-945d069fb5c8932e74aeba178c60a9dc6e9cba93.zip u-boot-imx-945d069fb5c8932e74aeba178c60a9dc6e9cba93.tar.gz u-boot-imx-945d069fb5c8932e74aeba178c60a9dc6e9cba93.tar.bz2 |
ipu common: reset ipuv3 correctly
This patch checks self-clear sw_ipu_rst bit in
SCR register of SRC controller to be cleared
after setting it to high to reset IPUv3. This
makes sure that IPUv3 finishes sofware reset.
A timeout mechanism is added to stop polling
on the bit status in case the bit could not be
cleared by the hardware automatically within
10 millisecond.
Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
Diffstat (limited to 'post/lib_powerpc/cmp.c')
0 files changed, 0 insertions, 0 deletions