]> git.karo-electronics.de Git - karo-tx-uboot.git/commit
arm: mvebu: theadorable: Add PEX-switch detection and reset code
authorStefan Roese <sr@denx.de>
Fri, 8 Apr 2016 13:58:30 +0000 (15:58 +0200)
committerStefan Roese <sr@denx.de>
Tue, 12 Apr 2016 09:13:40 +0000 (11:13 +0200)
commit169a85501715d39f8a4af810e51df1300920fae9
tree93a6cd86069099bbf55bd7175232bfa51b894403
parent8ac71da94d63368136baf352e543ba9790db2610
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>
board/theadorable/theadorable.c
include/configs/theadorable.h