diff mbox

davinci: Add additional JTAG code for AM-1808 and OMAP-L138 Rev 2.0 SoCs

Message ID 1293039967-20165-1-git-send-email-michael.williamson@criticallink.com (mailing list archive)
State Superseded
Headers show

Commit Message

Michael Williamson Dec. 22, 2010, 5:46 p.m. UTC
None
diff mbox

Patch

diff --git a/arch/arm/mach-davinci/da850.c b/arch/arm/mach-davinci/da850.c
index 78b5ae2..3f888b3 100644
--- a/arch/arm/mach-davinci/da850.c
+++ b/arch/arm/mach-davinci/da850.c
@@ -764,6 +764,13 @@  static struct davinci_id da850_ids[] = {
 		.cpu_id		= DAVINCI_CPU_ID_DA850,
 		.name		= "da850/omap-l138",
 	},
+	{
+		.variant	= 0x1,
+		.part_no	= 0xb7d1,
+		.manufacturer	= 0x017,	/* 0x02f >> 1 */
+		.cpu_id		= DAVINCI_CPU_ID_DA850,
+		.name		= "da850/omap-l138/am18xx",
+	},
 };
 
 static struct davinci_timer_instance da850_timer_instance[4] = {
@@ -814,7 +821,7 @@  static void da850_set_async3_src(int pllnum)
 			WARN(ret, "DA850: unable to re-parent clock %s",
 								clk->name);
 		}
-       }
+	}
 
 	v = __raw_readl(DA8XX_SYSCFG0_VIRT(DA8XX_CFGCHIP3_REG));
 	if (pllnum)
@@ -895,7 +902,7 @@  static const struct da850_opp da850_opp_96 = {
 	.cvdd_max	= 1050000,
 };
 
-#define OPP(freq) 		\
+#define OPP(freq)	\
 	{				\
 		.index = (unsigned int) &da850_opp_##freq,	\
 		.frequency = freq * 1000, \