]> git.dujemihanovic.xyz Git - u-boot.git/commit
board: phytec: introduce eeprom struct member 'valid'
authorYannic Moog <y.moog@phytec.de>
Fri, 19 Apr 2024 15:55:37 +0000 (08:55 -0700)
committerTom Rini <trini@konsulko.com>
Mon, 29 Apr 2024 16:55:57 +0000 (10:55 -0600)
commit8fe6e9a00fea7faa129a741feb50d5a165c422c1
tree0942acd5afbfeb7da0b512718981f43fb32cdc52
parentf1c6f5797f53cddd8f87e208062c76697b2d65bc
board: phytec: introduce eeprom struct member 'valid'

Add a new nember to the eeprom_data that indicates whether the
associated data is valid or not. Make use of this new member in the
phytec_eeprom_data_init function by setting the valid value
appropriately.
Move the eeprom data to a new struct payload that holds
the payload of the eeprom.

Signed-off-by: Yannic Moog <y.moog@phytec.de>
Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
Reviewed-by: Teresa Remmet <t.remmet@phytec.de>
board/phytec/common/imx8m_som_detection.c
board/phytec/common/phytec_som_detection.c
board/phytec/common/phytec_som_detection.h