commit | a2f62fdd7d68614f99701c34eb5a4bc093930aad | [log] [tgz] |
---|---|---|
author | Stefan Roese <sr@denx.de> | Fri Apr 08 15:58:30 2016 +0200 |
committer | Stefan Roese <sr@denx.de> | Tue Apr 12 11:13:40 2016 +0200 |
tree | 93a6cd86069099bbf55bd7175232bfa51b894403 | |
parent | 07b5e04a9fcd70f560a7211359158c8354141b43 [diff] |
arm: mvebu: theadorable: Add PEX-switch detection and reset code Sometimes the PCIe link for the PEX-switch will not come-up. In this case, the board is not in a usable state. This patch makes sure that in this case a soft-reset is issued. If this soft-reset does not result in the PEX-switch being detected after some soft-reset cycles, an I2C message is sent to the uC to issue a complete power-cycle of the board. Signed-off-by: Stefan Roese <sr@denx.de>