Skip to contentSkip to conversation

TI: DaVinci: DM646x: Update flag used to represent DM646x SOC's

PATCH New s-paulraj at ti.com 3 participants 3 messages Sep 18, 2009 – Sep 21, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 TI: DaVinci: DM646x: Update flag used to represent DM646x SOC's

From: Sandeep Paulraj <[email protected]>

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.

---
 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(-)
include/asm-arm/arch-davinci/emac_defs.h +2 -2
index ae75f84..96bc80e 100644
@@ -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;
include/asm-arm/arch-davinci/nand_defs.h +1 -1
index 386540e..10f3a39 100644
@@ -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
Signature · 1 line
1.6.0.4
#1 lore raw

PATCH 1/1 TI: DaVinci: DM646x: Update flag used to represent DM646x SOC's

Quoted 9 lines · s-paulraj at ti.com

From: Sandeep Paulraj <[email protected]>

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.

Which board defines CONFIG_SOC_DM646X?
I could not find it in a simple grep.

Otherwise..
Ack-ed
Tom

Quoted 40 lines
---
 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(-)
include/asm-arm/arch-davinci/emac_defs.h +2 -2
index ae75f84..96bc80e 100644
@@ -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;
include/asm-arm/arch-davinci/nand_defs.h +1 -1
index 386540e..10f3a39 100644
@@ -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
#2 lore raw

PATCH 1/1 TI: DaVinci: DM646x: Update flag used to represent DM646x SOC's

Quoted 12 lines
Quoted 8 lines · s-paulraj at ti.com

From: Sandeep Paulraj <[email protected]>

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.

Quoted 8 lines
Quoted 1 line

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