[Fwd: [PATCH] cc: Ben Dooks <ben at fluff.org>]

Andy Green andy at openmoko.com
Mon Feb 23 03:08:22 CET 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Here we go -->

- -------- Original Message --------
Subject: [PATCH] cc: Ben Dooks <ben at fluff.org>
Date: Fri, 20 Feb 2009 03:42:19 +0000
From: Andy Green <andy at openmoko.com>
To: openmoko-kernel at lists.openmoko.org

From: Harald Welte <laforge at openmoko.com>

introduce-cpu-s3c2442b.patch

Without this patch, no s3c2442b can boot in Linux, eg,
Openmoko GTA02 / Freerunner

Signed-off-by: Andy Green <andy at openmoko.com>
- ---

~ arch/arm/plat-s3c24xx/cpu.c |   10 ++++++++++
~ 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/arch/arm/plat-s3c24xx/cpu.c b/arch/arm/plat-s3c24xx/cpu.c
index 542062f..a9776af 100644
- --- a/arch/arm/plat-s3c24xx/cpu.c
+++ b/arch/arm/plat-s3c24xx/cpu.c
@@ -61,6 +61,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";
@@ -112,6 +113,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,


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkmiBRYACgkQOjLpvpq7dMqfJgCeMWre3qtff2AOxE2OPOWCz/xn
2yoAnjlFnP9JciCz71UE6egeNbgk4bEp
=u8NH
-----END PGP SIGNATURE-----



More information about the openmoko-kernel mailing list