diff options
| author | Marek BehĂșn <[email protected]> | 2024-04-04 09:50:53 +0200 |
|---|---|---|
| committer | Stefan Roese <[email protected]> | 2024-04-04 10:45:27 +0200 |
| commit | ed8d3bd11a97345a1045ec8c60ee2d1e12040795 (patch) | |
| tree | 5caf52640cd74b1145ab977c5f9a037c064090fd /scripts | |
| parent | 8983f0a5165698db95a1561311d65daa8b972f96 (diff) | |
arm: mvebu: turris_omnia: Update MCU status and features reading
Refactor MCU status word and MCU firmware features reading to make it
simpler to use.
Try reading 32 bits of features, if that fails, read 16 bits. Older MCU
firmware supports only 16-bit wide features, and if more bytes are read,
either 0xff is sent or I2C transaction fails. Handle both cases.
Signed-off-by: Marek BehĂșn <[email protected]>
Reviewed-by: Stefan Roese <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
