commit | 169a85501715d39f8a4af810e51df1300920fae9 | [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 | 8ac71da94d63368136baf352e543ba9790db2610 [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>