diff options
author | Stefan Roese <sr@denx.de> | 2016-04-08 15:58:30 +0200 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2016-04-12 11:13:40 +0200 |
commit | 169a85501715d39f8a4af810e51df1300920fae9 (patch) | |
tree | 93a6cd86069099bbf55bd7175232bfa51b894403 /include | |
parent | 8ac71da94d63368136baf352e543ba9790db2610 (diff) | |
download | u-boot-imx-169a85501715d39f8a4af810e51df1300920fae9.zip u-boot-imx-169a85501715d39f8a4af810e51df1300920fae9.tar.gz u-boot-imx-169a85501715d39f8a4af810e51df1300920fae9.tar.bz2 |
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/theadorable.h b/include/configs/theadorable.h index 05a248e..5864f27 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 |