Patchwork [U-Boot] arm, davinci: add DAVINCI_SYSCFG_SUSPSRC_UART2

login
register
mail settings
Submitter Heiko Schocher
Date Nov. 9, 2011, 6:09 a.m.
Message ID <1320818982-3427-1-git-send-email-hs@denx.de>
Download mbox | patch
Permalink /patch/124479/
State Superseded
Delegated to: Tom Rini
Headers show

Comments

Heiko Schocher - Nov. 9, 2011, 6:09 a.m.
commit f9fc237f1f07d4e5ff7c9c2da39cabc8d3d7b339
Author: Bastian Ruppert <Bastian.Ruppert@Sewerin.de>
Date:   Tue Oct 4 23:43:28 2011 +0000

    Davinci: ea20: set console on UART0

replaced DAVINCI_SYSCFG_SUSPSRC_UART2 with DAVINCI_SYSCFG_SUSPSRC_UART0
but DAVINCI_SYSCFG_SUSPSRC_UART2 is needed on the enbw_cmc
board, see patches:

http://lists.denx.de/pipermail/u-boot/2011-October/104399.html

Signed-off-by: Heiko Schocher <hs@denx.de>
Cc: Bastian Ruppert <Bastian.Ruppert@Sewerin.de>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Sandeep Paulraj <s-paulraj@ti.com>
---
 arch/arm/include/asm/arch-davinci/hardware.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
Stefano Babic - Nov. 9, 2011, 8:54 a.m.
On 11/09/2011 07:09 AM, Heiko Schocher wrote:
> commit f9fc237f1f07d4e5ff7c9c2da39cabc8d3d7b339
> Author: Bastian Ruppert <Bastian.Ruppert@Sewerin.de>
> Date:   Tue Oct 4 23:43:28 2011 +0000
> 
>     Davinci: ea20: set console on UART0
> 
> replaced DAVINCI_SYSCFG_SUSPSRC_UART2 with DAVINCI_SYSCFG_SUSPSRC_UART0
> but DAVINCI_SYSCFG_SUSPSRC_UART2 is needed on the enbw_cmc
> board, see patches:
> 
> http://lists.denx.de/pipermail/u-boot/2011-October/104399.html
> 
> Signed-off-by: Heiko Schocher <hs@denx.de>
> Cc: Bastian Ruppert <Bastian.Ruppert@Sewerin.de>
> Cc: Stefano Babic <sbabic@denx.de>
> Cc: Sandeep Paulraj <s-paulraj@ti.com>
> ---
>  arch/arm/include/asm/arch-davinci/hardware.h |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/arch/arm/include/asm/arch-davinci/hardware.h b/arch/arm/include/asm/arch-davinci/hardware.h
> index 8e7d97e..aba517e 100644
> --- a/arch/arm/include/asm/arch-davinci/hardware.h
> +++ b/arch/arm/include/asm/arch-davinci/hardware.h
> @@ -469,6 +469,7 @@ struct davinci_syscfg_regs {
>  #define DAVINCI_SYSCFG_SUSPSRC_SPI0		(1 << 21)
>  #define DAVINCI_SYSCFG_SUSPSRC_SPI1		(1 << 22)
>  #define DAVINCI_SYSCFG_SUSPSRC_UART0		(1 << 18)
> +#define DAVINCI_SYSCFG_SUSPSRC_UART2		(1 << 20)
>  #define DAVINCI_SYSCFG_SUSPSRC_TIMER0		(1 << 27)
>  
>  struct davinci_syscfg1_regs {

Acked-by: Stefano Babic <sbabic@denx.de>

Best regards,
Stefano Babic

Patch

diff --git a/arch/arm/include/asm/arch-davinci/hardware.h b/arch/arm/include/asm/arch-davinci/hardware.h
index 8e7d97e..aba517e 100644
--- a/arch/arm/include/asm/arch-davinci/hardware.h
+++ b/arch/arm/include/asm/arch-davinci/hardware.h
@@ -469,6 +469,7 @@  struct davinci_syscfg_regs {
 #define DAVINCI_SYSCFG_SUSPSRC_SPI0		(1 << 21)
 #define DAVINCI_SYSCFG_SUSPSRC_SPI1		(1 << 22)
 #define DAVINCI_SYSCFG_SUSPSRC_UART0		(1 << 18)
+#define DAVINCI_SYSCFG_SUSPSRC_UART2		(1 << 20)
 #define DAVINCI_SYSCFG_SUSPSRC_TIMER0		(1 << 27)
 
 struct davinci_syscfg1_regs {