mvebu: turris_omnia: Fix PEX vs SATA detection for board topology
authorMarek BehĂșn <marek.behun@nic.cz>
Fri, 4 Aug 2017 13:28:25 +0000 (15:28 +0200)
committerStefan Roese <sr@denx.de>
Tue, 8 Aug 2017 12:20:26 +0000 (14:20 +0200)
commit8daa3468b52f89e069bca469a68b866c2583a4a5
treecce13dc027216d07b9a590197f53fdc9c7b65082
parenteaa90e5df2a4a1cb12fb73571978a9379242d0b5
mvebu: turris_omnia: Fix PEX vs SATA detection for board topology

The I2C reading in the PEX vs SATA detection code often fails on the
first try. Try three times, as the code for EEPROM reading does.

Signed-off-by: Marek Behun <marek.behun@nic.cz>
Signed-off-by: Stefan Roese <sr@denx.de>
board/CZ.NIC/turris_omnia/turris_omnia.c