aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/modules.py
diff options
context:
space:
mode:
authorChris Zhong <[email protected]>2015-04-15 13:57:11 +0800
committerHeiko Stuebner <[email protected]>2015-04-16 21:15:47 +0200
commit0ea001d3b43cc9d387c093ae205c4228cd88a886 (patch)
tree736112af9cc549d24725599269dffe3b8545c53d /scripts/gdb/linux/modules.py
parenta0307d186f5015ee3d77e209e5c06190cbf02478 (diff)
ARM: rockchip: disable dapswjdp during suspend
Reset dapswjdp is controlled by JTAG_TRSTN, if the iomux of this pin is not "jtag_trstn". the AP would think this pin is always high, so it can not reset before resume. When system resume, but the dapswjdp is not in a default state, it may Access some illegal address, it cause system crash during resume. Let's disable this jtag function by clear the dapdeviceen bit, it prohibit the dapswjdp to access memory and registers. This bit would be enable in MASKROM, so we need clear it in suspend everytime. Signed-off-by: Chris Zhong <[email protected]> Reviewed-by: Doug Anderson <[email protected]> Signed-off-by: Heiko Stuebner <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions