summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Merkle <alexander.merkle@lauterbach.com>2015-03-19 18:37:19 +0100
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2015-04-16 11:31:00 +0200
commitfd602c5635b95ff19ac7391b4ef3548019e81b58 (patch)
tree371ed87f5b152b0a7dd654f17988be3863bbb9ba
parent148822d5464b99f4996d6aa8891013b7929c50dc (diff)
downloadblackbird-obmc-uboot-fd602c5635b95ff19ac7391b4ef3548019e81b58.tar.gz
blackbird-obmc-uboot-fd602c5635b95ff19ac7391b4ef3548019e81b58.zip
fix ARM DCC support for ARMv7 based cores (e.g. CortexA)
Signed-off-by: Alexander Merkle <alexander.merkle@lauterbach.com>
-rw-r--r--drivers/serial/arm_dcc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/serial/arm_dcc.c b/drivers/serial/arm_dcc.c
index 5dfb02f470..e77773740f 100644
--- a/drivers/serial/arm_dcc.c
+++ b/drivers/serial/arm_dcc.c
@@ -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)
OpenPOWER on IntegriCloud