Patchwork [U-Boot,1/2] da8xx: ea20: Add the configuration define for the exact SoC variant

login
register
mail settings
Submitter Tomas Novotny
Date Feb. 1, 2013, 4:44 p.m.
Message ID <20130201174406.6be94735@pcnovotny-t.fit.vutbr.cz>
Download mbox | patch
Permalink /patch/217525/
State Accepted
Delegated to: Tom Rini
Headers show

Comments

Tomas Novotny - Feb. 1, 2013, 4:44 p.m.
Signed-off-by: Tomas Novotny <tomas@novotny.cz>
Cc: Tom Rini <trini@ti.com>
Cc: Stefano Babic <sbabic@denx.de>
---
The second patch in this series adds pinmux for the da830. This pinmux
is selected when CONFIG_SOC_DA850 is not set. Although ea20 has its own
gpio pinmux (because gpio_request() is not used), this patch is added to
prevent possible problems in the future.

 include/configs/ea20.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
Stefano Babic - Feb. 4, 2013, 8:01 a.m.
On 01/02/2013 17:44, Tomas Novotny wrote:
> Signed-off-by: Tomas Novotny <tomas@novotny.cz>
> Cc: Tom Rini <trini@ti.com>
> Cc: Stefano Babic <sbabic@denx.de>
> ---
> The second patch in this series adds pinmux for the da830. This pinmux
> is selected when CONFIG_SOC_DA850 is not set. Although ea20 has its own
> gpio pinmux (because gpio_request() is not used), this patch is added to
> prevent possible problems in the future.
> 
>  include/configs/ea20.h |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/include/configs/ea20.h b/include/configs/ea20.h
> index d3eb596..03dfe0a 100644
> --- a/include/configs/ea20.h
> +++ b/include/configs/ea20.h
> @@ -42,6 +42,7 @@
>  #define CONFIG_MACH_DAVINCI_DA850_EVM
>  #define CONFIG_ARM926EJS		/* arm926ejs CPU core */
>  #define CONFIG_SOC_DA8XX		/* TI DA8xx SoC */
> +#define CONFIG_SOC_DA850		/* TI DA850 SoC */
>  #define CONFIG_SYS_CLK_FREQ		clk_get(DAVINCI_ARM_CLKID)
>  #define CONFIG_SYS_OSCIN_FREQ		24000000
>  #define CONFIG_SYS_TIMERBASE		DAVINCI_TIMER0_BASE
> 

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

Best regards,
Stefano Babic
Tom Rini - Feb. 19, 2013, 4:15 p.m.
On Fri, Feb 01, 2013 at 06:44:06AM -0000, Tomas Novotny wrote:

> Signed-off-by: Tomas Novotny <tomas@novotny.cz>
> Cc: Tom Rini <trini@ti.com>
> Cc: Stefano Babic <sbabic@denx.de>
> Acked-by: Stefano Babic <sbabic@denx.de>

This and 2/2 have been applied to u-boot-ti/master, thanks!

Patch

diff --git a/include/configs/ea20.h b/include/configs/ea20.h
index d3eb596..03dfe0a 100644
--- a/include/configs/ea20.h
+++ b/include/configs/ea20.h
@@ -42,6 +42,7 @@ 
 #define CONFIG_MACH_DAVINCI_DA850_EVM
 #define CONFIG_ARM926EJS		/* arm926ejs CPU core */
 #define CONFIG_SOC_DA8XX		/* TI DA8xx SoC */
+#define CONFIG_SOC_DA850		/* TI DA850 SoC */
 #define CONFIG_SYS_CLK_FREQ		clk_get(DAVINCI_ARM_CLKID)
 #define CONFIG_SYS_OSCIN_FREQ		24000000
 #define CONFIG_SYS_TIMERBASE		DAVINCI_TIMER0_BASE