* [U-Boot] [PATCH] TI: DaVinci: DM646x: Update flag used to represent DM646x SOC's
@ 2009-09-18 21:31 s-paulraj at ti.com
2009-09-21 18:56 ` Tom
0 siblings, 1 reply; 3+ messages in thread
From: s-paulraj at ti.com @ 2009-09-18 21:31 UTC (permalink / raw)
To: u-boot
From: Sandeep Paulraj <s-paulraj@ti.com>
In the DaVinci specific code, we use both CONFIG_SOC_DM646X and
CONFIG_SOC_DM646x to represent DM646x specific code.
This patch changes occurrences of CONFIG_SOC_DM646x to
CONFIG_SOC_DM646X. This is because for DM644x series of SOCs we use
the flag CONFIG_SOC_DM644X. We want some uniformity.
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
---
include/asm-arm/arch-davinci/emac_defs.h | 4 ++--
include/asm-arm/arch-davinci/nand_defs.h | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/include/asm-arm/arch-davinci/emac_defs.h b/include/asm-arm/arch-davinci/emac_defs.h
index ae75f84..96bc80e 100644
--- a/include/asm-arm/arch-davinci/emac_defs.h
+++ b/include/asm-arm/arch-davinci/emac_defs.h
@@ -50,7 +50,7 @@
#define EMAC_MDIO_BASE_ADDR (0x01c84000)
#endif
-#ifdef CONFIG_SOC_DM646x
+#ifdef CONFIG_SOC_DM646X
/* MDIO module input frequency */
#define EMAC_MDIO_BUS_FREQ 76500000
/* MDIO clock output frequency */
@@ -283,7 +283,7 @@ typedef struct {
/* EMAC Wrapper Registers Structure */
typedef struct {
-#if defined(CONFIG_SOC_DM646x) || defined(CONFIG_SOC_DM365)
+#if defined(CONFIG_SOC_DM646X) || defined(CONFIG_SOC_DM365)
dv_reg IDVER;
dv_reg SOFTRST;
dv_reg EMCTRL;
diff --git a/include/asm-arm/arch-davinci/nand_defs.h b/include/asm-arm/arch-davinci/nand_defs.h
index 386540e..10f3a39 100644
--- a/include/asm-arm/arch-davinci/nand_defs.h
+++ b/include/asm-arm/arch-davinci/nand_defs.h
@@ -28,7 +28,7 @@
#include <asm/arch/hardware.h>
-#ifdef CONFIG_SOC_DM646x
+#ifdef CONFIG_SOC_DM646X
#define MASK_CLE 0x80000
#define MASK_ALE 0x40000
#else
--
1.6.0.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [U-Boot] [PATCH] TI: DaVinci: DM646x: Update flag used to represent DM646x SOC's
2009-09-18 21:31 [U-Boot] [PATCH] TI: DaVinci: DM646x: Update flag used to represent DM646x SOC's s-paulraj at ti.com
@ 2009-09-21 18:56 ` Tom
2009-09-21 19:39 ` Paulraj, Sandeep
0 siblings, 1 reply; 3+ messages in thread
From: Tom @ 2009-09-21 18:56 UTC (permalink / raw)
To: u-boot
s-paulraj at ti.com wrote:
> From: Sandeep Paulraj <s-paulraj@ti.com>
>
> In the DaVinci specific code, we use both CONFIG_SOC_DM646X and
> CONFIG_SOC_DM646x to represent DM646x specific code.
> This patch changes occurrences of CONFIG_SOC_DM646x to
> CONFIG_SOC_DM646X. This is because for DM644x series of SOCs we use
> the flag CONFIG_SOC_DM644X. We want some uniformity.
>
> Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
Which board defines CONFIG_SOC_DM646X?
I could not find it in a simple grep.
Otherwise..
Ack-ed
Tom
> ---
> include/asm-arm/arch-davinci/emac_defs.h | 4 ++--
> include/asm-arm/arch-davinci/nand_defs.h | 2 +-
> 2 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/include/asm-arm/arch-davinci/emac_defs.h b/include/asm-arm/arch-davinci/emac_defs.h
> index ae75f84..96bc80e 100644
> --- a/include/asm-arm/arch-davinci/emac_defs.h
> +++ b/include/asm-arm/arch-davinci/emac_defs.h
> @@ -50,7 +50,7 @@
> #define EMAC_MDIO_BASE_ADDR (0x01c84000)
> #endif
>
> -#ifdef CONFIG_SOC_DM646x
> +#ifdef CONFIG_SOC_DM646X
> /* MDIO module input frequency */
> #define EMAC_MDIO_BUS_FREQ 76500000
> /* MDIO clock output frequency */
> @@ -283,7 +283,7 @@ typedef struct {
>
> /* EMAC Wrapper Registers Structure */
> typedef struct {
> -#if defined(CONFIG_SOC_DM646x) || defined(CONFIG_SOC_DM365)
> +#if defined(CONFIG_SOC_DM646X) || defined(CONFIG_SOC_DM365)
> dv_reg IDVER;
> dv_reg SOFTRST;
> dv_reg EMCTRL;
> diff --git a/include/asm-arm/arch-davinci/nand_defs.h b/include/asm-arm/arch-davinci/nand_defs.h
> index 386540e..10f3a39 100644
> --- a/include/asm-arm/arch-davinci/nand_defs.h
> +++ b/include/asm-arm/arch-davinci/nand_defs.h
> @@ -28,7 +28,7 @@
>
> #include <asm/arch/hardware.h>
>
> -#ifdef CONFIG_SOC_DM646x
> +#ifdef CONFIG_SOC_DM646X
> #define MASK_CLE 0x80000
> #define MASK_ALE 0x40000
> #else
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] [PATCH] TI: DaVinci: DM646x: Update flag used to represent DM646x SOC's
2009-09-21 18:56 ` Tom
@ 2009-09-21 19:39 ` Paulraj, Sandeep
0 siblings, 0 replies; 3+ messages in thread
From: Paulraj, Sandeep @ 2009-09-21 19:39 UTC (permalink / raw)
To: u-boot
>
> s-paulraj at ti.com wrote:
> > From: Sandeep Paulraj <s-paulraj@ti.com>
> >
> > In the DaVinci specific code, we use both CONFIG_SOC_DM646X and
> > CONFIG_SOC_DM646x to represent DM646x specific code.
> > This patch changes occurrences of CONFIG_SOC_DM646x to
> > CONFIG_SOC_DM646X. This is because for DM644x series of SOCs we use
> > the flag CONFIG_SOC_DM644X. We want some uniformity.
> >
> > Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
>
> Which board defines CONFIG_SOC_DM646X?
> I could not find it in a simple grep.
>
> Otherwise..
> Ack-ed
> Tom
No board uses it as of now. But there is some support for DM646x(DaVinci-HD) based chips in the present source in the form of some entries in the hardware.h file and 1 DM646x SOC specific file.
IIRC patches were sent some months ago for DM646x but got lost in the list.
Thanks,
Sandeep
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-09-21 19:39 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-18 21:31 [U-Boot] [PATCH] TI: DaVinci: DM646x: Update flag used to represent DM646x SOC's s-paulraj at ti.com
2009-09-21 18:56 ` Tom
2009-09-21 19:39 ` Paulraj, Sandeep
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox