diff options
author | Mirko Vogt <mirko@openwrt.org> | 2008-12-12 11:58:53 +0000 |
---|---|---|
committer | Mirko Vogt <mirko@openwrt.org> | 2008-12-12 11:58:53 +0000 |
commit | fac7f7f84f3771c5247c7fdee825c092077984f5 (patch) | |
tree | 54644c1229434d7ee13c5872bda4129e34337fc0 /target/linux/s3c24xx/patches-2.6.26/0023-s3c2442b-cpuid.patch.patch | |
parent | a34279723a9cf0796f9261f2fb90bea18cd95711 (diff) | |
download | master-187ad058-fac7f7f84f3771c5247c7fdee825c092077984f5.tar.gz master-187ad058-fac7f7f84f3771c5247c7fdee825c092077984f5.tar.bz2 master-187ad058-fac7f7f84f3771c5247c7fdee825c092077984f5.zip |
changed Makefile and profiles, added patches for kernel 2.6.24
(stable-branch of Openmoko)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13613 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/s3c24xx/patches-2.6.26/0023-s3c2442b-cpuid.patch.patch')
-rwxr-xr-x | target/linux/s3c24xx/patches-2.6.26/0023-s3c2442b-cpuid.patch.patch | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/target/linux/s3c24xx/patches-2.6.26/0023-s3c2442b-cpuid.patch.patch b/target/linux/s3c24xx/patches-2.6.26/0023-s3c2442b-cpuid.patch.patch new file mode 100755 index 0000000000..8bd3d65ff8 --- /dev/null +++ b/target/linux/s3c24xx/patches-2.6.26/0023-s3c2442b-cpuid.patch.patch @@ -0,0 +1,56 @@ +From ca652d910f40692ce558d525b61911b66202d908 Mon Sep 17 00:00:00 2001 +From: mokopatches <mokopatches@openmoko.org> +Date: Wed, 16 Jul 2008 14:44:50 +0100 +Subject: [PATCH] s3c2442b-cpuid.patch + Add the Samsung S3C2442B CPU idcode to the samsung s3c24xx platform code + and fix a Kconfig typo related tot the 2442. + +--- + arch/arm/mach-s3c2442/Kconfig | 2 +- + arch/arm/plat-s3c24xx/cpu.c | 10 ++++++++++ + 2 files changed, 11 insertions(+), 1 deletions(-) + +diff --git a/arch/arm/mach-s3c2442/Kconfig b/arch/arm/mach-s3c2442/Kconfig +index 26d131a..6cc68a1 100644 +--- a/arch/arm/mach-s3c2442/Kconfig ++++ b/arch/arm/mach-s3c2442/Kconfig +@@ -6,7 +6,7 @@ + + config CPU_S3C2442 + bool +- depends on ARCH_S3C2410 ++ depends on ARCH_S3C2440 + select S3C2410_CLOCK + select S3C2410_GPIO + select S3C2410_PM if PM +diff --git a/arch/arm/plat-s3c24xx/cpu.c b/arch/arm/plat-s3c24xx/cpu.c +index f5699ca..05fb61d 100644 +--- a/arch/arm/plat-s3c24xx/cpu.c ++++ b/arch/arm/plat-s3c24xx/cpu.c +@@ -72,6 +72,7 @@ static const char name_s3c2410[] = "S3C2410"; + static const char name_s3c2412[] = "S3C2412"; + static const char name_s3c2440[] = "S3C2440"; + static const char name_s3c2442[] = "S3C2442"; ++static const char name_s3c2442b[] = "S3C2442B"; + static const char name_s3c2443[] = "S3C2443"; + static const char name_s3c2410a[] = "S3C2410A"; + static const char name_s3c2440a[] = "S3C2440A"; +@@ -123,6 +124,15 @@ static struct cpu_table cpu_ids[] __initdata = { + .name = name_s3c2442 + }, + { ++ .idcode = 0x32440aab, ++ .idmask = 0xffffffff, ++ .map_io = s3c244x_map_io, ++ .init_clocks = s3c244x_init_clocks, ++ .init_uarts = s3c244x_init_uarts, ++ .init = s3c2442_init, ++ .name = name_s3c2442b ++ }, ++ { + .idcode = 0x32412001, + .idmask = 0xffffffff, + .map_io = s3c2412_map_io, +-- +1.5.6.3 + |