]> git.dujemihanovic.xyz Git - u-boot.git/commit
board: phytec: common: Move eeprom read to new function
authorDaniel Schultz <d.schultz@phytec.de>
Wed, 22 May 2024 06:18:22 +0000 (23:18 -0700)
committerTom Rini <trini@konsulko.com>
Fri, 7 Jun 2024 20:01:53 +0000 (14:01 -0600)
commit0329547377756bc1433c46088e9d1d2a2c93ccdd
tree69bd9e5220af4ab69ba7143b634ff8d409aca482
parent03de305ec48b0bb28554372abb40ccd46dbe0bf9
board: phytec: common: Move eeprom read to new function

We need to read multiple times from different offsets in API v3.
Move the EEPROM read logic into a dedicated function to make it
usable multiple times.

Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
Tested-by: Wadim Egorov <w.egorov@phytec.de>
board/phytec/common/phytec_som_detection.c