aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/tasks.py
diff options
context:
space:
mode:
authorLaurent Pinchart <[email protected]>2017-01-11 16:43:40 +0200
committerGreg Kroah-Hartman <[email protected]>2017-01-19 14:17:05 +0100
commitdfc80387aefb78161f83732804c6d01c89c24595 (patch)
tree1576a2c29d8c81842c676c6c6e9095e45e3c9f91 /scripts/gdb/linux/tasks.py
parent97ed9790c514066bfae67f22e084b505ed5af436 (diff)
serial: sh-sci: Compute the regshift value for SCI ports
SCI instances found in SH SoCs have different spacing between registers depending on the SoC. The platform data contains a regshift field that tells the driver by how many bits to shift the register offset to compute its address. We can compute the regshift value automatically based on the memory resource size, there's no need to pass the value through platform data. Fix the sh7750 SCI and sh7760 SIM port memory resources length to ensure proper computation of the regshift value. Signed-off-by: Laurent Pinchart <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions