diff options
author | Freeman Liu <[email protected]> | 2019-01-28 15:54:54 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2019-01-31 16:24:14 +0100 |
commit | 996e39bb03ba0ec31dbe8c1c7df11130ba9de639 (patch) | |
tree | a9e3b8bd802539a2b4cc3f5af84f250d7189d94e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 38cd7ad5bd25a7e63f17fa58bb54d1df8ff3fbf8 (diff) |
nvmem: sc27xx: Convert nvmem offset to block index
The Spreadtrum SC27XX efuse data are organized by blocks and each block
contains 2 bytes data. Moreover the nvmem core always pass the offset
in byte to the controller, so we should change the offset in byte to
the correct block index and block offset to read the data.
Signed-off-by: Freeman Liu <[email protected]>
Signed-off-by: Baolin Wang <[email protected]>
Signed-off-by: Srinivas Kandagatla <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions