linux-mips.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Manuel Lauss <manuel.lauss@googlemail.com>
To: Linux-MIPS <linux-mips@linux-mips.org>
Cc: Manuel Lauss <manuel.lauss@gmail.com>
Subject: [PATCH] MIPS: Alchemy: add au1210 to cpu type detector.
Date: Tue, 24 Nov 2009 17:31:09 +0100	[thread overview]
Message-ID: <1259080269-3631-1-git-send-email-manuel.lauss@gmail.com> (raw)

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

             reply	other threads:[~2009-11-24 16:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-24 16:31 Manuel Lauss [this message]
2009-11-24 17:04 ` [PATCH] MIPS: Alchemy: add au1210 to cpu type detector Ralf Baechle

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1259080269-3631-1-git-send-email-manuel.lauss@gmail.com \
    --to=manuel.lauss@googlemail.com \
    --cc=linux-mips@linux-mips.org \
    --cc=manuel.lauss@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).