public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 1/2] fix ARM DCC support for ARMv7 based cores (e.g. CortexA)
@ 2015-03-19 17:37 Alexander Merkle
  2015-03-19 17:37 ` Alexander Merkle
  2015-03-19 17:37 ` [U-Boot] [PATCH 2/2] [PATCH v2] " Alexander Merkle
  0 siblings, 2 replies; 5+ messages in thread
From: Alexander Merkle @ 2015-03-19 17:37 UTC (permalink / raw)
  To: u-boot


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(-)

-- 
2.1.4

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [U-Boot] [PATCH 1/2] fix ARM DCC support for ARMv7 based cores (e.g. CortexA)
  2015-03-19 17:37 [U-Boot] [PATCH 1/2] fix ARM DCC support for ARMv7 based cores (e.g. CortexA) Alexander Merkle
@ 2015-03-19 17:37 ` Alexander Merkle
  2015-04-16 10:31   ` Albert ARIBAUD
  2015-03-19 17:37 ` [U-Boot] [PATCH 2/2] [PATCH v2] " Alexander Merkle
  1 sibling, 1 reply; 5+ messages in thread
From: Alexander Merkle @ 2015-03-19 17:37 UTC (permalink / raw)
  To: u-boot

Signed-off-by: Alexander Merkle <alexander.merkle@lauterbach.com>
---

 drivers/serial/arm_dcc.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/serial/arm_dcc.c b/drivers/serial/arm_dcc.c
index 5dfb02f..e777737 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)
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [U-Boot] [PATCH 2/2] [PATCH v2] fix ARM DCC support for ARMv7 based cores (e.g. CortexA)
  2015-03-19 17:37 [U-Boot] [PATCH 1/2] fix ARM DCC support for ARMv7 based cores (e.g. CortexA) Alexander Merkle
  2015-03-19 17:37 ` Alexander Merkle
@ 2015-03-19 17:37 ` Alexander Merkle
  2015-04-16 10:31   ` Albert ARIBAUD
  1 sibling, 1 reply; 5+ messages in thread
From: Alexander Merkle @ 2015-03-19 17:37 UTC (permalink / raw)
  To: u-boot

Signed-off-by: Alexander Merkle <alexander.merkle@lauterbach.com>
---

 include/configs/zynq-common.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/include/configs/zynq-common.h b/include/configs/zynq-common.h
index 87b4fff..789e437 100644
--- a/include/configs/zynq-common.h
+++ b/include/configs/zynq-common.h
@@ -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
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [U-Boot] [PATCH 1/2] fix ARM DCC support for ARMv7 based cores (e.g. CortexA)
  2015-03-19 17:37 ` Alexander Merkle
@ 2015-04-16 10:31   ` Albert ARIBAUD
  0 siblings, 0 replies; 5+ messages in thread
From: Albert ARIBAUD @ 2015-04-16 10:31 UTC (permalink / raw)
  To: u-boot

Hello Alexander,

On Thu, 19 Mar 2015 18:37:19 +0100, Alexander Merkle <alexander.merkle@lauterbach.com> wrote:
> Signed-off-by: Alexander Merkle <alexander.merkle@lauterbach.com>
> ---
> 
>  drivers/serial/arm_dcc.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/serial/arm_dcc.c b/drivers/serial/arm_dcc.c
> index 5dfb02f..e777737 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)
> -- 
> 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,
-- 
Albert.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [U-Boot] [PATCH 2/2] [PATCH v2] fix ARM DCC support for ARMv7 based cores (e.g. CortexA)
  2015-03-19 17:37 ` [U-Boot] [PATCH 2/2] [PATCH v2] " Alexander Merkle
@ 2015-04-16 10:31   ` Albert ARIBAUD
  0 siblings, 0 replies; 5+ messages in thread
From: Albert ARIBAUD @ 2015-04-16 10:31 UTC (permalink / raw)
  To: u-boot

Hello Alexander,

On Thu, 19 Mar 2015 18:37:20 +0100, Alexander Merkle <alexander.merkle@lauterbach.com> wrote:
> Signed-off-by: Alexander Merkle <alexander.merkle@lauterbach.com>
> ---
> 
>  include/configs/zynq-common.h | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/include/configs/zynq-common.h b/include/configs/zynq-common.h
> index 87b4fff..789e437 100644
> --- a/include/configs/zynq-common.h
> +++ b/include/configs/zynq-common.h
> @@ -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
> -- 
> 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,
-- 
Albert.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-04-16 10:31 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-19 17:37 [U-Boot] [PATCH 1/2] fix ARM DCC support for ARMv7 based cores (e.g. CortexA) Alexander Merkle
2015-03-19 17:37 ` Alexander Merkle
2015-04-16 10:31   ` Albert ARIBAUD
2015-03-19 17:37 ` [U-Boot] [PATCH 2/2] [PATCH v2] " Alexander Merkle
2015-04-16 10:31   ` Albert ARIBAUD

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox