From: Lokesh Vutla <lokeshvutla@ti.com>
Date: Thu, 16 Aug 2018 13:13:56 +0000 (+0530)
Subject: serial: arm_dcc: Add DCC support for V7R based cores
X-Git-Tag: v2025.01-rc5-pxa1908~3633
X-Git-Url: http://git.dujemihanovic.xyz/img/static/%7B%7B%20%24.Site.BaseURL%20%7D%7Dposts/%7B%7B%20%28.OutputFormats.Get?a=commitdiff_plain;h=5f133bb7c519ebb069f74bbda428627ad28419c6;p=u-boot.git

serial: arm_dcc: Add DCC support for V7R based cores

DCC is supported on Cortex R series as well. Enable DCC support
for V7R.

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
---

diff --git a/drivers/serial/arm_dcc.c b/drivers/serial/arm_dcc.c
index c83a3fe8ee..43e8691a93 100644
--- a/drivers/serial/arm_dcc.c
+++ b/drivers/serial/arm_dcc.c
@@ -19,7 +19,7 @@
 #include <dm.h>
 #include <serial.h>
 
-#if defined(CONFIG_CPU_V6) || defined(CONFIG_CPU_V7A)
+#if defined(CONFIG_CPU_V6) || defined(CONFIG_CPU_V7A) || defined(CONFIG_CPU_V7R)
 /*
  * ARMV6 & ARMV7
  */