From patchwork Thu Oct 9 12:56:38 2008 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Josh Boyer X-Patchwork-Id: 4303 X-Patchwork-Delegate: jwboyer@gmail.com Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from ozlabs.org (localhost [127.0.0.1]) by ozlabs.org (Postfix) with ESMTP id AC3AFDEF20 for ; Tue, 14 Oct 2008 05:12:13 +1100 (EST) X-Original-To: linuxppc-dev@ozlabs.org Delivered-To: linuxppc-dev@ozlabs.org Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.239]) by ozlabs.org (Postfix) with ESMTP id 36CA2DEAED for ; Tue, 14 Oct 2008 05:11:10 +1100 (EST) Received: by rv-out-0506.google.com with SMTP id f6so1755225rvb.9 for ; Mon, 13 Oct 2008 11:11:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:in-reply-to :references:from:date:subject:to:mime-version:x-mailer :content-transfer-encoding:sender; bh=74ctXScmMGO3ltUioHaPFRW1XmQzvN+29nCVsHDEA9I=; b=RP9PZLNo9CrdfCfVkbWERf6Gf06ZSzI9y2tny/mGH8l+h12isDpCfzMKfm2feZsfi3 hOS089bylL5GzohUaviSEg9E7DEFLSTi9jP1yP2jZSNzUD+pBm1p0xdiHz+y8bB8e/+m bXCflrVAuKLGSag6HvSb1yEuh8PfhltrsY5MM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:in-reply-to:references:from:date:subject:to:mime-version :x-mailer:content-transfer-encoding:sender; b=v2nkLl3drMLSmbhU7avYs2jOoc0z24+hH6dD7nHmvIZC49FcvCkZkX82gXwFYnN3F9 3/JqnqlvsBS2k+oj1ovn0piNO2mekBdAiMlGalju373qwrfV7qXmj5Omh5YLfyDt7uNJ 58Joi7kvffdR9z2aAkj0fBipJxESPXZI3vmC4= Received: by 10.141.87.13 with SMTP id p13mr4059178rvl.43.1223921468793; Mon, 13 Oct 2008 11:11:08 -0700 (PDT) Received: from ?192.168.1.101? (24-247-237-59.dhcp.aldl.mi.charter.com [24.247.237.59]) by mx.google.com with ESMTPS id 8sm5059425ywg.6.2008.10.13.11.11.07 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 13 Oct 2008 11:11:08 -0700 (PDT) Message-Id: <1013c487c226d006f11edc84b1e85416cf20e629.1223921238.git.jwboyer@linux.vnet.ibm.com> In-Reply-To: References: From: Josh Boyer Date: Thu, 9 Oct 2008 08:56:38 -0400 Subject: [PATCH 2/5] powerpc/40x: Add AMCC PowerPC 405EZ to cputable To: linuxppc-dev@ozlabs.org Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 (2.22.3.1-1.fc9) X-BeenThere: linuxppc-dev@ozlabs.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@ozlabs.org Errors-To: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@ozlabs.org This adds the AMCC PowerPC 405EZ chip to the cputable Signed-off-by: Josh Boyer --- arch/powerpc/kernel/cputable.c | 13 +++++++++++++ 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/kernel/cputable.c b/arch/powerpc/kernel/cputable.c index e70d048..b1eb834 100644 --- a/arch/powerpc/kernel/cputable.c +++ b/arch/powerpc/kernel/cputable.c @@ -1277,6 +1277,19 @@ static struct cpu_spec __initdata cpu_specs[] = { .machine_check = machine_check_4xx, .platform = "ppc405", }, + { + /* 405EZ */ + .pvr_mask = 0xffff0000, + .pvr_value = 0x41510000, + .cpu_name = "405EZ", + .cpu_features = CPU_FTRS_40X, + .cpu_user_features = PPC_FEATURE_32 | + PPC_FEATURE_HAS_MMU | PPC_FEATURE_HAS_4xxMAC, + .icache_bsize = 32, + .dcache_bsize = 32, + .machine_check = machine_check_4xx, + .platform = "ppc405", + }, { /* default match */ .pvr_mask = 0x00000000, .pvr_value = 0x00000000,