]> git.sur5r.net Git - openocd/commit
cortex_a9: fix dap_ap_select() usage
authorAaron Carroll <aaronc@cse.unsw.edu.au>
Thu, 3 Feb 2011 01:06:14 +0000 (12:06 +1100)
committerØyvind Harboe <oyvind.harboe@zylin.com>
Thu, 10 Feb 2011 08:57:17 +0000 (09:57 +0100)
commit94e90cbf16cb14c997e68b780b1c4397f2cc2257
treeea09320889d9668e696d81bf010d050bbc316071
parent405b7a458d516f1f5c6dad860a31189e1007a6b6
cortex_a9: fix dap_ap_select() usage

Save, select and restore AP in cortex_a9_step and cortex_a9_init_debug_access.
Fixes a bug where the wrong AP is selected after a reset.

Signed-off-by: Aaron Carroll <aaronc@cse.unsw.edu.au>
src/target/cortex_a9.c