diff options
author | Tony Lindgren <tony@atomide.com> | 2005-11-10 09:26:48 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2005-11-10 09:26:48 -0500 |
commit | 3179a019391f0f8081245fd564a5f1be308ba64f (patch) | |
tree | afdc1200f17b0ca97e04baa7c2cc2d4d2883e0c9 /arch/arm/mach-omap1/id.c | |
parent | a7918f39bbe59fe76f43743bdb6bb8b0bdefd94a (diff) |
[ARM] 3141/1: OMAP 1/5: Update omap1 specific files
Patch from Tony Lindgren
This patch syncs the mainline kernel with linux-omap tree.
The highlights of the patch are:
- Omap1 serial pport and framebuffer init updates by Imre Deak
- Add support for omap310 processor and Palm Tungsten E PDA
by Laurent Gonzales, Romain Goyet, et al. Omap310 and
omap1510 processors are now handled as omap15xx.
- Omap1 specific changes to shared omap clock framework
by Tony Lindgren
- Omap1 specific changes to shared omap pin mux framework
by Tony Lindgren
- Other misc fixes, such as update memory timings for smc91x,
omap1 specific device initialization etc.
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-omap1/id.c')
-rw-r--r-- | arch/arm/mach-omap1/id.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/mach-omap1/id.c b/arch/arm/mach-omap1/id.c index 986c3b7e09bb..5c637c048368 100644 --- a/arch/arm/mach-omap1/id.c +++ b/arch/arm/mach-omap1/id.c | |||
@@ -18,6 +18,13 @@ | |||
18 | 18 | ||
19 | #include <asm/io.h> | 19 | #include <asm/io.h> |
20 | 20 | ||
21 | #define OMAP_DIE_ID_0 0xfffe1800 | ||
22 | #define OMAP_DIE_ID_1 0xfffe1804 | ||
23 | #define OMAP_PRODUCTION_ID_0 0xfffe2000 | ||
24 | #define OMAP_PRODUCTION_ID_1 0xfffe2004 | ||
25 | #define OMAP32_ID_0 0xfffed400 | ||
26 | #define OMAP32_ID_1 0xfffed404 | ||
27 | |||
21 | struct omap_id { | 28 | struct omap_id { |
22 | u16 jtag_id; /* Used to determine OMAP type */ | 29 | u16 jtag_id; /* Used to determine OMAP type */ |
23 | u8 die_rev; /* Processor revision */ | 30 | u8 die_rev; /* Processor revision */ |
@@ -27,6 +34,7 @@ struct omap_id { | |||
27 | 34 | ||
28 | /* Register values to detect the OMAP version */ | 35 | /* Register values to detect the OMAP version */ |
29 | static struct omap_id omap_ids[] __initdata = { | 36 | static struct omap_id omap_ids[] __initdata = { |
37 | { .jtag_id = 0xb574, .die_rev = 0x2, .omap_id = 0x03310315, .type = 0x03100000}, | ||
30 | { .jtag_id = 0x355f, .die_rev = 0x0, .omap_id = 0x03320000, .type = 0x07300100}, | 38 | { .jtag_id = 0x355f, .die_rev = 0x0, .omap_id = 0x03320000, .type = 0x07300100}, |
31 | { .jtag_id = 0xb55f, .die_rev = 0x0, .omap_id = 0x03320000, .type = 0x07300300}, | 39 | { .jtag_id = 0xb55f, .die_rev = 0x0, .omap_id = 0x03320000, .type = 0x07300300}, |
32 | { .jtag_id = 0xb470, .die_rev = 0x0, .omap_id = 0x03310100, .type = 0x15100000}, | 40 | { .jtag_id = 0xb470, .die_rev = 0x0, .omap_id = 0x03310100, .type = 0x15100000}, |
@@ -164,6 +172,7 @@ void __init omap_check_revision(void) | |||
164 | case 0x07: | 172 | case 0x07: |
165 | system_rev |= 0x07; | 173 | system_rev |= 0x07; |
166 | break; | 174 | break; |
175 | case 0x03: | ||
167 | case 0x15: | 176 | case 0x15: |
168 | system_rev |= 0x15; | 177 | system_rev |= 0x15; |
169 | break; | 178 | break; |