Hello Luca!
On Sat, Feb 12, 2011 at 12:54 PM, Luca Ellero wrote:
> 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. (...)
This is also somehow related with the TRANSPORT and DP system tha
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
Signed-off-by: Luca Ellero
---
src/target/arm_adi_v5.c | 74 +++
src/target/arm_adi_v5.h |2 +-
2 files changed, 75 insertions(+), 1 deletions(-)
diff --git a/src/target/arm_adi_v5.c b/src/target/arm_adi_v5.c
index 2695c46..4a3cfbb 100644
--- a/s
Signed-off-by: Luca Ellero
---
src/target/arm_adi_v5.h | 31 +++
1 files changed, 31 insertions(+), 0 deletions(-)
diff --git a/src/target/arm_adi_v5.h b/src/target/arm_adi_v5.h
index f64f7c8..2aefd60 100644
--- a/src/target/arm_adi_v5.h
+++ b/src/target/arm_adi_v5.
Signed-off-by: Luca Ellero
---
src/target/cortex_a9.c | 13 +++--
1 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/src/target/cortex_a9.c b/src/target/cortex_a9.c
index e411335..c13d41c 100644
--- a/src/target/cortex_a9.c
+++ b/src/target/cortex_a9.c
@@ -1498,8 +1498,9 @@
Signed-off-by: Luca Ellero
---
src/target/cortex_a9.c | 22 ++
1 files changed, 22 insertions(+), 0 deletions(-)
diff --git a/src/target/cortex_a9.c b/src/target/cortex_a9.c
index 3ad7a7d..422da3f 100644
--- a/src/target/cortex_a9.c
+++ b/src/target/cortex_a9.c
@@ -1521,6 +
Signed-off-by: Luca Ellero
---
src/target/cortex_a9.c | 12
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/src/target/cortex_a9.c b/src/target/cortex_a9.c
index c13d41c..3ad7a7d 100644
--- a/src/target/cortex_a9.c
+++ b/src/target/cortex_a9.c
@@ -1522,6 +1522,12 @@