]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
arm: socfpga: reset: Repair bridge reset handling
authorMarek Vasut <marex@denx.de>
Thu, 9 Jul 2015 01:52:12 +0000 (03:52 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 06:17:20 +0000 (08:17 +0200)
commit243624d2d4c20d6ac4445eebb7538a745c3ad2ad
tree62e484bcee48f9fdbd00d01412145ae51ceec427
parent3aa749b241658727c079cd9f16933ed0e0b55af0
arm: socfpga: reset: Repair bridge reset handling

The current bridge reset code, which de-asserted the bridge reset,
was activelly polling whether the FPGA is programmed and ready and
in case it was (!), the code called hang(). This makes no sense at
all. Repair it such that the code instead checks whether the FPGA
is programmed, but without any polling involved, and only if it is
programmed, it de-asserts the reset.

Signed-off-by: Marek Vasut <marex@denx.de>
arch/arm/mach-socfpga/reset_manager.c