siemens: eeprom: simplify setup & read
authorEnrico Leto <enrico.leto@siemens.com>
Wed, 24 Jan 2024 14:43:50 +0000 (15:43 +0100)
committerTom Rini <trini@konsulko.com>
Mon, 5 Feb 2024 18:32:48 +0000 (13:32 -0500)
commite9ef9a137741275ba656607cb8d1a66766c739e5
tree4845c28b558000a7feea700ad863f882556f9d85
parent5ae54613ebb7b926ea09e8f145d9a40a85d6480e
siemens: eeprom: simplify setup & read

Since we have boards using the driver model or not for i2c, use abstraction
function to probe the i2c, check the EEPROM and read from EEPROM.

Signed-off-by: Enrico Leto <enrico.leto@siemens.com>
13 files changed:
board/siemens/capricorn/Makefile
board/siemens/common/board.c
board/siemens/common/eeprom.c [new file with mode: 0644]
board/siemens/common/eeprom.h
board/siemens/common/factoryset.c
board/siemens/draco/Makefile
board/siemens/draco/board.c
board/siemens/draco/mux.c
board/siemens/pxm2/Makefile
board/siemens/pxm2/board.c
board/siemens/pxm2/mux.c
board/siemens/rut/Makefile
board/siemens/rut/board.c