fix ARM DCC support for ARMv7 based cores (e.g. CortexA)
authorAlexander Merkle <alexander.merkle@lauterbach.com>
Thu, 19 Mar 2015 17:37:19 +0000 (18:37 +0100)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Thu, 16 Apr 2015 09:31:00 +0000 (11:31 +0200)
Signed-off-by: Alexander Merkle <alexander.merkle@lauterbach.com>
drivers/serial/arm_dcc.c

index 5dfb02f..e777737 100644 (file)
@@ -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)