Skip to contentSkip to conversation

fix ARM DCC support for ARMv7 based cores (e.g. CortexA)

PATCH Superseded Alexander Merkle 2 participants 5 messages Mar 19, 2015 – Apr 16, 2015 Arm/Zynq architecture

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 fix ARM DCC support for ARMv7 based cores (e.g. CortexA)

fix arm_dcc.c implementation for ARMv7 based cores. remove now obsolete workaround for ZYNQ

Alexander Merkle (2):
fix ARM DCC support for ARMv7 based cores (e.g. CortexA) fix ARM DCC support for ARMv7 based cores (e.g. CortexA)

 drivers/serial/arm_dcc.c      | 4 ++--
 include/configs/zynq-common.h | 1 -
 2 files changed, 2 insertions(+), 3 deletions(-)
Signature · 1 line
2.1.4
#1 lore raw

PATCH 1/2 fix ARM DCC support for ARMv7 based cores (e.g. CortexA)

---

 drivers/serial/arm_dcc.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/serial/arm_dcc.c +2 -2
index 5dfb02f..e777737 100644
@@ -29,9 +29,9 @@
 #include <common.h>
 #include <serial.h>
 
-#if defined(CONFIG_CPU_V6)
+#if defined(CONFIG_CPU_V6) || defined(CONFIG_CPU_V7)
 /*
- * ARMV6
+ * ARMV6 & ARMV7
  */
 #define DCC_RBIT	(1 << 30)
 #define DCC_WBIT	(1 << 29)
Signature · 1 line
2.1.4
#2 lore raw

PATCH 1/2 fix ARM DCC support for ARMv7 based cores (e.g. CortexA)

Hello Alexander,

Quoted 29 lines · Alexander Merkle

---

 drivers/serial/arm_dcc.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/serial/arm_dcc.c +2 -2
index 5dfb02f..e777737 100644
@@ -29,9 +29,9 @@
 #include <common.h>
 #include <serial.h>
 
-#if defined(CONFIG_CPU_V6)
+#if defined(CONFIG_CPU_V6) || defined(CONFIG_CPU_V7)
 /*
- * ARMV6
+ * ARMV6 & ARMV7
  */
 #define DCC_RBIT	(1 << 30)
 #define DCC_WBIT	(1 << 29)
Signature · 6 lines
2.1.4

_______________________________________________
U-Boot mailing list
U-Boot at lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Applied to u-boot-arm/master, thanks!

Amicalement,

Signature · 1 line
Albert.
#3 lore raw

PATCH v2 2/2 fix ARM DCC support for ARMv7 based cores (e.g. CortexA)

In reply to Alexander Merkle

---

 include/configs/zynq-common.h | 1 -
 1 file changed, 1 deletion(-)
include/configs/zynq-common.h +0 -1
index 87b4fff..789e437 100644
@@ -34,7 +34,6 @@
 /* DCC driver */
 #if defined(CONFIG_ZYNQ_DCC)
 # define CONFIG_ARM_DCC
-# define CONFIG_CPU_V6 /* Required by CONFIG_ARM_DCC */
 #else
 # define CONFIG_ZYNQ_SERIAL
 #endif
Signature · 1 line
2.1.4
#4 lore raw

PATCH v2 2/2 fix ARM DCC support for ARMv7 based cores (e.g. CortexA)

Hello Alexander,

Quoted 25 lines · Alexander Merkle

---

 include/configs/zynq-common.h | 1 -
 1 file changed, 1 deletion(-)
include/configs/zynq-common.h +0 -1
index 87b4fff..789e437 100644
@@ -34,7 +34,6 @@
 /* DCC driver */
 #if defined(CONFIG_ZYNQ_DCC)
 # define CONFIG_ARM_DCC
-# define CONFIG_CPU_V6 /* Required by CONFIG_ARM_DCC */
 #else
 # define CONFIG_ZYNQ_SERIAL
 #endif
Signature · 6 lines
2.1.4

_______________________________________________
U-Boot mailing list
U-Boot at lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Applied to u-boot-arm/master, thanks!

Amicalement,

Signature · 1 line
Albert.