cortex: Set default memaccess_tck only during examine
authorAndreas Fritiofson <andreas.fritiofson@gmail.com>
Sun, 6 Dec 2015 15:58:13 +0000 (16:58 +0100)
committerAndreas Fritiofson <andreas.fritiofson@gmail.com>
Tue, 29 Dec 2015 20:31:55 +0000 (20:31 +0000)
commitd84c7d91960bbba0079268d165f0bb29a0da4d86
treede5b52df6599fbea20798f813c9a844f7c2e0403
parent1d17b32829e1b89d5d9c045c7b7b3ceb98e5f4f4
cortex: Set default memaccess_tck only during examine

It's currently set during target creation but the AP that will be used
for the target is not even known.

Change-Id: I4502e7eb1fa8d90f746445b8cf8a4c21cb7d519e
Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Reviewed-on: http://openocd.zylin.com/3155
Tested-by: jenkins
Reviewed-by: Matthias Welwarsky <matthias@welwarsky.de>
src/target/cortex_a.c
src/target/cortex_m.c