From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46896) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z0fsY-0008IC-Gn for qemu-devel@nongnu.org; Thu, 04 Jun 2015 20:52:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z0fsV-0000CK-BP for qemu-devel@nongnu.org; Thu, 04 Jun 2015 20:52:58 -0400 Received: from mail-bn1on0097.outbound.protection.outlook.com ([157.56.110.97]:15232 helo=na01-bn1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z0fsV-0000CG-6T for qemu-devel@nongnu.org; Thu, 04 Jun 2015 20:52:55 -0400 Received: from unknown-38-66.xilinx.com ([149.199.38.66]:41215 helo=xsj-pvapsmtp01) by xsj-pvapsmtpgw02 with esmtp (Exim 4.63) (envelope-from ) id 1Z0fsS-0000SC-Tq for qemu-devel@nongnu.org; Thu, 04 Jun 2015 17:52:52 -0700 Received: from [127.0.0.1] (helo=localhost) by xsj-pvapsmtp01 with smtp (Exim 4.63) (envelope-from ) id 1Z0fsS-0002Ns-OY for qemu-devel@nongnu.org; Thu, 04 Jun 2015 17:52:52 -0700 Date: Fri, 5 Jun 2015 10:48:30 +1000 From: "Edgar E. Iglesias" Message-ID: <20150605004830.GW17878@toto> References: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] [PATCH RESEND v1 8/8] target-microblaze: Remove dead code List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alistair Francis Cc: peter.crosthwaite@xilinx.com, qemu-devel@nongnu.org On Thu, Jun 04, 2015 at 11:25:49AM +1000, Alistair Francis wrote: > This code is already being run in the mb_cpu_realizefn() > function. As PVR registers are preserved on reset this > code is not required. Reviewed-by: Edgar E. Iglesias > > Signed-off-by: Alistair Francis > --- > target-microblaze/cpu.c | 4 ---- > 1 files changed, 0 insertions(+), 4 deletions(-) > > diff --git a/target-microblaze/cpu.c b/target-microblaze/cpu.c > index 329d4d5..437250d 100644 > --- a/target-microblaze/cpu.c > +++ b/target-microblaze/cpu.c > @@ -129,10 +129,6 @@ static void mb_cpu_realizefn(DeviceState *dev, Error **errp) > > env->sregs[SR_PC] = cpu->cfg.base_vectors; > > -#if defined(CONFIG_USER_ONLY) > - env->pvr.regs[10] = 0x0c000000; /* Spartan 3a dsp. */ > -#endif > - > mcc->parent_realize(dev, errp); > } > > -- > 1.7.1 >