diff options
author | Luca Ellero <lroluk@gmail.com> | 2011-02-12 11:54:42 +0000 |
---|---|---|
committer | Øyvind Harboe <oyvind.harboe@zylin.com> | 2011-02-14 15:29:25 +0100 |
commit | 779005f43dc372de937dfd4b445f31d882b98eca (patch) | |
tree | 775becf5edb052a97ddc6a261c0d21757758aa24 /tools/rlink_make_speed_table/rlink_make_speed_table.pl | |
parent | bc404041c0ba1633506412cd1ca5ec6d7c16846a (diff) | |
download | openocd_libswd-779005f43dc372de937dfd4b445f31d882b98eca.tar.gz openocd_libswd-779005f43dc372de937dfd4b445f31d882b98eca.tar.bz2 openocd_libswd-779005f43dc372de937dfd4b445f31d882b98eca.tar.xz openocd_libswd-779005f43dc372de937dfd4b445f31d882b98eca.zip |
cortex_a9: move dap_ap_select to arm_avi_v5
dap_ap_select was used in the code at various points, but that can lead to
confusion, without any knowledge of what AP is really selected at some
points.
Some bugs derive from this (for example md/mw doesn't work well after
issueing "dap apsel" command).
Moving it to arm_adi_v5.c (using mem_ap_sel* functions instead of mem_ap_*)
make the code more clear and more easier to maintain.
In the future it should be made "static" to avoid its use outside arm_adi_v5
One further benefit is the various goto has been removed as well
Signed-off-by: Luca Ellero <lroluk@gmail.com>
Diffstat (limited to 'tools/rlink_make_speed_table/rlink_make_speed_table.pl')
0 files changed, 0 insertions, 0 deletions