[ar71xx] remove duplicated includes
[openwrt.git] / target / linux / s3c24xx / patches-2.6.24 / 1030-s3c2442b-cpuid.patch.patch
1 From 6635f1fbaf19b1d50e355bec73974faab070e46f Mon Sep 17 00:00:00 2001
2 From: mokopatches <mokopatches@openmoko.org>
3 Date: Fri, 4 Apr 2008 11:34:27 +0100
4 Subject: [PATCH] s3c2442b-cpuid.patch
5 Add the Samsung S3C2442B CPU idcode to the samsung s3c24xx platform code
6 and fix a Kconfig typo related tot the 2442.
7
8 ---
9 arch/arm/mach-s3c2442/Kconfig | 2 +-
10 arch/arm/plat-s3c24xx/cpu.c | 10 ++++++++++
11 2 files changed, 11 insertions(+), 1 deletions(-)
12
13 diff --git a/arch/arm/mach-s3c2442/Kconfig b/arch/arm/mach-s3c2442/Kconfig
14 index 26d131a..6cc68a1 100644
15 --- a/arch/arm/mach-s3c2442/Kconfig
16 +++ b/arch/arm/mach-s3c2442/Kconfig
17 @@ -6,7 +6,7 @@
18
19 config CPU_S3C2442
20 bool
21 - depends on ARCH_S3C2410
22 + depends on ARCH_S3C2440
23 select S3C2410_CLOCK
24 select S3C2410_GPIO
25 select S3C2410_PM if PM
26 diff --git a/arch/arm/plat-s3c24xx/cpu.c b/arch/arm/plat-s3c24xx/cpu.c
27 index f513ab0..bebbc14 100644
28 --- a/arch/arm/plat-s3c24xx/cpu.c
29 +++ b/arch/arm/plat-s3c24xx/cpu.c
30 @@ -68,6 +68,7 @@ static const char name_s3c2410[] = "S3C2410";
31 static const char name_s3c2412[] = "S3C2412";
32 static const char name_s3c2440[] = "S3C2440";
33 static const char name_s3c2442[] = "S3C2442";
34 +static const char name_s3c2442b[] = "S3C2442B";
35 static const char name_s3c2443[] = "S3C2443";
36 static const char name_s3c2410a[] = "S3C2410A";
37 static const char name_s3c2440a[] = "S3C2440A";
38 @@ -119,6 +120,15 @@ static struct cpu_table cpu_ids[] __initdata = {
39 .name = name_s3c2442
40 },
41 {
42 + .idcode = 0x32440aab,
43 + .idmask = 0xffffffff,
44 + .map_io = s3c244x_map_io,
45 + .init_clocks = s3c244x_init_clocks,
46 + .init_uarts = s3c244x_init_uarts,
47 + .init = s3c2442_init,
48 + .name = name_s3c2442b
49 + },
50 + {
51 .idcode = 0x32412001,
52 .idmask = 0xffffffff,
53 .map_io = s3c2412_map_io,
54 --
55 1.5.6.5
56
This page took 0.041564 seconds and 5 git commands to generate.