summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2016-04-08 15:58:30 +0200
committerStefan Roese <sr@denx.de>2016-04-12 11:13:40 +0200
commit169a85501715d39f8a4af810e51df1300920fae9 (patch)
tree93a6cd86069099bbf55bd7175232bfa51b894403 /include
parent8ac71da94d63368136baf352e543ba9790db2610 (diff)
downloadtalos-obmc-uboot-169a85501715d39f8a4af810e51df1300920fae9.tar.gz
talos-obmc-uboot-169a85501715d39f8a4af810e51df1300920fae9.zip
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>
Diffstat (limited to 'include')
-rw-r--r--include/configs/theadorable.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/theadorable.h b/include/configs/theadorable.h
index 05a248ee09..5864f27a6f 100644
--- a/include/configs/theadorable.h
+++ b/include/configs/theadorable.h
@@ -104,6 +104,7 @@
#define CONFIG_PCI
#define CONFIG_PCI_MVEBU
#define CONFIG_PCI_PNP
+#define CONFIG_BOARD_LATE_INIT /* for PEX switch test */
#endif
#endif
OpenPOWER on IntegriCloud