From 169a85501715d39f8a4af810e51df1300920fae9 Mon Sep 17 00:00:00 2001 From: Stefan Roese Date: Fri, 8 Apr 2016 15:58:30 +0200 Subject: 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 --- include/configs/theadorable.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') 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 -- cgit