From patchwork Thu Jan 31 00:25:50 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Schwierzeck X-Patchwork-Id: 217063 X-Patchwork-Delegate: daniel.schwierzeck@googlemail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 9389F2C0094 for ; Thu, 31 Jan 2013 11:53:36 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 97F534A13B; Thu, 31 Jan 2013 01:53:34 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7Qk-1RuX5D-8; Thu, 31 Jan 2013 01:53:34 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id BB8C14A128; Thu, 31 Jan 2013 01:53:32 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 782644A128 for ; Thu, 31 Jan 2013 01:53:31 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZHLNhUOI8hzW for ; Thu, 31 Jan 2013 01:53:30 +0100 (CET) X-Greylist: delayed 1169 seconds by postgrey-1.27 at theia; Thu, 31 Jan 2013 01:53:29 CET X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-ee0-f53.google.com (mail-ee0-f53.google.com [74.125.83.53]) by theia.denx.de (Postfix) with ESMTPS id 96DAE4A126 for ; Thu, 31 Jan 2013 01:53:29 +0100 (CET) Received: by mail-ee0-f53.google.com with SMTP id e53so1137430eek.26 for ; Wed, 30 Jan 2013 16:53:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer; bh=wzA1Bnyr0Eh54he7LKqZibfE13QCSgUfu5QJsCGi9o0=; b=JiwmPJ/HrtrMHE5JWmSujtlit3MXC3BcmUUoBMD2I/fwvBCEqfkrmCalmSaWCAOG/G NIzper37fv1hom/T8isKHoSlytKNJkHUPAjKwQaamOlF8iNx1R5qpauF6xtBXREA5xYB Tp6mFVC25Z4BapmzKVbhQY7+4/I9YxQGa9mOc44p7+uVnjkNgs1JbQvDtvPQABPl5kjY dctzOZc3hgfCe6GJpTnK9YvLgvrwZAwvFtEgLfEbnXS+oEP7p+8H2g5j6NQF5tj5r6u7 t6D2g1HLYMhOw4NeoI/K/WgVw3T9muSGoJDt7Pmoaw+EcLrpa7zSl90OtIKwf3S0MMpT 2EHg== X-Received: by 10.14.219.3 with SMTP id l3mr20707157eep.5.1359591955299; Wed, 30 Jan 2013 16:25:55 -0800 (PST) Received: from workstation.zombienet (dslb-188-103-043-218.pools.arcor-ip.net. [188.103.43.218]) by mx.google.com with ESMTPS id 46sm4637977eeg.4.2013.01.30.16.25.54 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 30 Jan 2013 16:25:54 -0800 (PST) From: daniel.schwierzeck@gmail.com To: u-boot@lists.denx.de Date: Thu, 31 Jan 2013 01:25:50 +0100 Message-Id: <1359591950-15086-1-git-send-email-daniel.schwierzeck@gmail.com> X-Mailer: git-send-email 1.8.1.1 Subject: [U-Boot] [PATCH] MIPS: start.S: remove obsolete 64 bit handling in setup_c0_status X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de From: Daniel Schwierzeck Signed-off-by: Daniel Schwierzeck --- arch/mips/cpu/mips32/start.S | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/arch/mips/cpu/mips32/start.S b/arch/mips/cpu/mips32/start.S index 51ce914..65acf7d 100644 --- a/arch/mips/cpu/mips32/start.S +++ b/arch/mips/cpu/mips32/start.S @@ -47,14 +47,6 @@ .set pop .endm - .macro setup_c0_status_reset -#ifdef CONFIG_64BIT - setup_c0_status ST0_KX 0 -#else - setup_c0_status 0 0 -#endif - .endm - #define RVECENT(f,n) \ b f; nop #define XVECENT(f,bev) \ @@ -222,7 +214,7 @@ reset: /* WP(Watch Pending), SW0/1 should be cleared */ mtc0 zero, CP0_CAUSE - setup_c0_status_reset + setup_c0_status 0 0 /* Init Timer */ mtc0 zero, CP0_COUNT