arm: mvebu: turris_omnia: refactor I2C accessing code
authorMarek Behún <marek.behun@nic.cz>
Thu, 2 May 2019 14:53:30 +0000 (16:53 +0200)
committerStefan Roese <sr@denx.de>
Fri, 3 May 2019 06:14:39 +0000 (08:14 +0200)
commit48e6d34360a0c80d29b5975fb4450ec5dedca4d6
treef8a8b1f0d7362eebbcbea15da5abb6660f7864a3
parentf9779f5ba371d2be27aeb64f54242d710e882ca6
arm: mvebu: turris_omnia: refactor I2C accessing code

Refactor code which accesses the microcontroller and EEPROM via I2C.

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