diff options
| author | Yannic Moog <[email protected]> | 2024-04-19 08:55:38 -0700 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2024-04-29 10:55:57 -0600 |
| commit | 1e5de690f305ea719ecd906b757b378b412128a3 (patch) | |
| tree | 79e8fdcc217168cdae981c6e719182a0784f3e36 /doc/develop/python_cq.rst | |
| parent | 8fe6e9a00fea7faa129a741feb50d5a165c422c1 (diff) | |
board: phytec: check eeprom_data validity
For all of the functions that access the eeprom_data, make sure these
data are valid. Use the valid member of the phytec_eeprom_data struct.
This fixes a bug where only the API revision check guarded against
accessing rubbish. But if API revision was e.g. 6, eeprom setup failed
before, but phytec_get_imx8m_eth would still happily access the data.
Fixes: dc22188cdc8 ("board: phytec: Add common PHYTEC SoM detection")
Signed-off-by: Yannic Moog <[email protected]>
Signed-off-by: Daniel Schultz <[email protected]>
Reviewed-by: Teresa Remmet <[email protected]>
Diffstat (limited to 'doc/develop/python_cq.rst')
0 files changed, 0 insertions, 0 deletions
