blob: 25764aa52cf1cd3ec31225234a1b943ccba49e24 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
From 073182af5855d4114ab3d40db3fba1298573f0be Mon Sep 17 00:00:00 2001
From: Ajay Kumar Gupta <ajay.gupta@ti.com>
Date: Fri, 10 Jul 2009 12:15:04 +0530
Subject: [PATCH 08/16] omap3: Add CHIP_GE_OMAP3430ES3 for HSUSB
OMAP3 HSUSB ports can be individually programmed in PHY or TLL
mode in ES3.0 onwards whereas this is not supported in ES2.1
and earlier versions.
CHIP_GE_OMAP3430ES3 is added to program this behavior at runtime.
Also updated the existing macros to use the priviously defined
*_GE_* logic instead of repeating the same logic again.
Signed-off-by: Ajay Kumar Gupta <ajay.gupta@ti.com>
---
arch/arm/plat-omap/include/mach/cpu.h | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/arch/arm/plat-omap/include/mach/cpu.h b/arch/arm/plat-omap/include/mach/cpu.h
index 7a5f9e8..60d867c 100644
--- a/arch/arm/plat-omap/include/mach/cpu.h
+++ b/arch/arm/plat-omap/include/mach/cpu.h
@@ -414,10 +414,11 @@ IS_OMAP_TYPE(3430, 0x3430)
* chips at ES2 and beyond, but not, for example, any OMAP lines after
* OMAP3.
*/
-#define CHIP_GE_OMAP3430ES2 (CHIP_IS_OMAP3430ES2 | \
- CHIP_IS_OMAP3430ES3_0 | \
- CHIP_IS_OMAP3430ES3_1)
#define CHIP_GE_OMAP3430ES3_1 (CHIP_IS_OMAP3430ES3_1)
+#define CHIP_GE_OMAP3430ES3 (CHIP_IS_OMAP3430ES3_0 | \
+ CHIP_GE_OMAP3430ES3_1)
+#define CHIP_GE_OMAP3430ES2 (CHIP_IS_OMAP3430ES2 | \
+ CHIP_GE_OMAP3430ES3)
int omap_chip_is(struct omap_chip_id oci);
--
1.6.2.4
|