linux-mips
[Top] [All Lists]

[PATCH] MIPS: Alchemy: add au1210 to cpu type detector.

To: Linux-MIPS <linux-mips@linux-mips.org>
Subject: [PATCH] MIPS: Alchemy: add au1210 to cpu type detector.
From: Manuel Lauss <manuel.lauss@googlemail.com>
Date: Tue, 24 Nov 2009 17:31:09 +0100
Cc: Manuel Lauss <manuel.lauss@gmail.com>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:date :message-id:x-mailer; bh=Q5nXpjy1Mf4U4c5Gee/7imrPsdyeK1jK1hCR5lGLHYA=; b=hQO4f0XGt5Dhnd0KEiN2Cy9WK/QR+LQ+c/vnrhdlbdoqTdU6lxG723z2Dp8Kge0lrR u0r4W6MShISPdW0XlSItatRMoe8WodYWN9LS3eNF9p65fGQybnptiHKpfcYLspAeh1Ka lbU+bm9tEOl1TGiBPrWC0omjxgA6k9Dg2h8HA=
Domainkey-signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; b=JafC+0q8ugmdcVu9+H5PcsqW8rUVgxcPxKYnZWc3hUb9f+lF3wE9PbVc/hCTzew4wb JovpD+vJ9GEEFdm4/kAETh4oWFM4YqWygfcLffFskPrme7kQ54rDNeMYrYftplHw/dge GmmSQ4gire7V3S9e2xojhNwNSe4RaYnliCJIU=
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
Au1210 is an au1200 with slightly crippled media engine and a
different PRId.

Signed-off-by: Manuel Lauss <manuel.lauss@gmail.com>
---
Ralf please fold this one into "MIPS: Alchemy: Simple cpu subtype detector"
if its not too much trouble. Thanks!

 arch/mips/include/asm/mach-au1x00/au1000.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/mips/include/asm/mach-au1x00/au1000.h 
b/arch/mips/include/asm/mach-au1x00/au1000.h
index e049d15..088c8e0 100644
--- a/arch/mips/include/asm/mach-au1x00/au1000.h
+++ b/arch/mips/include/asm/mach-au1x00/au1000.h
@@ -153,6 +153,7 @@ static inline int alchemy_get_cputype(void)
                return ALCHEMY_CPU_AU1550;
                break;
        case 0x04030000:
+       case 0x05030000:
                return ALCHEMY_CPU_AU1200;
                break;
        }
-- 
1.6.5.3


<Prev in Thread] Current Thread [Next in Thread>