From patchwork Thu Aug 7 00:23:22 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nobuhiro Iwamatsu X-Patchwork-Id: 377696 X-Patchwork-Delegate: iwamatsu@nigauri.org 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 D32A714012C for ; Thu, 7 Aug 2014 10:24:44 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 52212A75F2; Thu, 7 Aug 2014 02:24:39 +0200 (CEST) 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 9MLHCMVTlLI5; Thu, 7 Aug 2014 02:24:39 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 06CBCA761D; Thu, 7 Aug 2014 02:24:25 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id B18C8A75EA for ; Thu, 7 Aug 2014 02:24:19 +0200 (CEST) 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 vIUfI-rFlBJ1 for ; Thu, 7 Aug 2014 02:24:17 +0200 (CEST) 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-pd0-f173.google.com (mail-pd0-f173.google.com [209.85.192.173]) by theia.denx.de (Postfix) with ESMTPS id 56445A7605 for ; Thu, 7 Aug 2014 02:23:56 +0200 (CEST) Received: by mail-pd0-f173.google.com with SMTP id w10so4169562pde.32 for ; Wed, 06 Aug 2014 17:23:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=J9UvLB3gef7Fnk+KESNmZrtjLCKNl5XT0oXaoSxSQ6o=; b=cbua6yaunv5x95Yf9fEEwaY0O7aH8DHC338GfX2pqo0klkV1aHBj4LIv/SISoOz6Xd 31dJv2kedX1eWyJ9OOH6xXe2aw2VCtfJBkj2c/PZ/G8nRNdtK+tSFiIrqwAM8Aii3znM 09s2QD7tvRaydXbDOsKf0jrMY/ZJfW+QrfI1v5fusJy0DP9uKOhS5c8RdFicdz/wwNYb theayYK6piV2ZeAp9uByuCRnFmYhHQ1LT+ajzs+la6HdGo8aw9lv0spqOT5sBrKf0ilS PAbKodc/+HweDaczXkTsuj6JXh9JZ+WaiEinFOlIcYWBRlQUuL7Ad4pdF2sKjbG59l2p vIAw== X-Gm-Message-State: ALoCoQmihOZx/0wReL8ijU7F2I/5Qilh8Ew918YcdYL3K+iK/8bAST3/XD4lhYKKIsbBY3KS5Wik X-Received: by 10.70.96.130 with SMTP id ds2mr76810pdb.145.1407371034728; Wed, 06 Aug 2014 17:23:54 -0700 (PDT) Received: from xps-iwamatsu.renesas.com (49.14.32.202.bf.2iij.net. [202.32.14.49]) by mx.google.com with ESMTPSA id u7sm3678257pdj.34.2014.08.06.17.23.52 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 06 Aug 2014 17:23:53 -0700 (PDT) From: Nobuhiro Iwamatsu To: u-boot@lists.denx.de, Nobuhiro Iwamatsu Date: Thu, 7 Aug 2014 09:23:22 +0900 Message-Id: <1407371002-14133-6-git-send-email-nobuhiro.iwamatsu.yj@renesas.com> X-Mailer: git-send-email 2.0.0 In-Reply-To: <1407371002-14133-1-git-send-email-nobuhiro.iwamatsu.yj@renesas.com> References: <1407371002-14133-1-git-send-email-nobuhiro.iwamatsu.yj@renesas.com> Cc: Nobuhiro Iwamatsu Subject: [U-Boot] [PATCH 6/6] arm: rmobile: Remove unnecessary initialization for l2ctlr 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 This removes duplicate initialization of l2ctlr. Signed-off-by: Nobuhiro Iwamatsu --- arch/arm/cpu/armv7/rmobile/lowlevel_init_ca15.S | 5 ----- 1 file changed, 5 deletions(-) diff --git a/arch/arm/cpu/armv7/rmobile/lowlevel_init_ca15.S b/arch/arm/cpu/armv7/rmobile/lowlevel_init_ca15.S index 287f8d7..dbb96ed 100644 --- a/arch/arm/cpu/armv7/rmobile/lowlevel_init_ca15.S +++ b/arch/arm/cpu/armv7/rmobile/lowlevel_init_ca15.S @@ -42,11 +42,6 @@ do_lowlevel_init: mcreq p15, 0, r0, c1, c0, 1 /* and set l2 latency */ - mrceq p15, 1, r0, c9, c0, 2 /* l2ctlr */ - orreq r0, r0, #0x00000800 - orreq r0, r0, #0x00000003 - mcreq p15, 1, r0, c9, c0, 2 - mrc p15, 0, r0, c0, c0, 5 /* r0 = MPIDR */ and r0, r0, #0xf00 lsr r0, r0, #8