diff options
| author | Michael Buesch <[email protected]> | 2009-11-23 20:58:06 +0100 |
|---|---|---|
| committer | John W. Linville <[email protected]> | 2009-11-23 17:05:41 -0500 |
| commit | e33761e6f23881de9f3ee77cc2204ab2e26f3d9a (patch) | |
| tree | e4d1c56fed629085b3387ebc512e8b2a441e393f /tools/perf/scripts/python | |
| parent | 3ba6018aa314559c5867138a8173b068268a70db (diff) | |
ssb: Fix range check in sprom write
The range check in the sprom image parser hex2sprom() is broken.
One sprom word is 4 hex characters.
This fixes the check and also adds much better sanity checks to the code.
We better make sure the image is OK by doing some sanity checks to avoid
bricking the device by accident.
Signed-off-by: Michael Buesch <[email protected]>
Cc: [email protected]
Signed-off-by: John W. Linville <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions