aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorPeng Fan <[email protected]>2020-11-27 10:28:37 +0000
committerGreg Kroah-Hartman <[email protected]>2020-11-27 16:10:07 +0100
commit3311bf18467272388039922a5e29c4925b291f73 (patch)
treed7dd1b0f9535b116bb519aefa8c5abf66529aaf5 /tools/perf/scripts/python/export-to-sqlite.py
parent044ee8f85267599a9b0112911f5c16d4548b4289 (diff)
nvmem: imx-ocotp: add support for the unaliged word count
When offset is not 4 bytes aligned, directly shift righty by 2 bits will cause reading out wrong data. Since imx ocotp only supports 4 bytes reading once, we need handle offset is not 4 bytes aligned and enlarge the bytes to 4 bytes aligned. After reading finished, copy the needed data from buffer to caller and free buffer. Signed-off-by: Peng Fan <[email protected]> Signed-off-by: Srinivas Kandagatla <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions