From mboxrd@z Thu Jan 1 00:00:00 1970 From: Deepak Chitriki Subject: Re: [PATCH] DSPBRIDGE: fix incorrect reset in bridge_brd_start function Date: Thu, 20 May 2010 09:41:55 -0500 Message-ID: <4BF54A33.7040909@ti.com> References: <496565EC904933469F292DDA3F1663E602CB7A83DB@dlee06.ent.ti.com> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from arroyo.ext.ti.com ([192.94.94.40]:56995 "EHLO arroyo.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752652Ab0ETOmR (ORCPT ); Thu, 20 May 2010 10:42:17 -0400 In-Reply-To: <496565EC904933469F292DDA3F1663E602CB7A83DB@dlee06.ent.ti.com> Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: "Guzman Lugo, Fernando" Cc: "linux-omap@vger.kernel.org" , Hiroshi DOYU , Ameya Palande , "Ramirez Luna, Omar" , Felipe Contreras Guzman Lugo, Fernando wrote: > From 595a54c6a886d8e707e04cbf5d0d9b6d6de7c6ec Mon Sep 17 00:00:00 2001 > From: Fernando Guzman Lugo > Date: Tue, 18 May 2010 20:14:20 -0500 > Subject: [PATCH] DSPBRIDGE: fix incorrect reset in bridge_brd_start function > > IVA mmu reset was not being done properly, so dsp bootaddress > was not copied to SYSC register. Given as a result DSP was not > booting from that address after reloading baseimage. > > Signed-off-by: Fernando Guzman Lugo > --- > drivers/dsp/bridge/core/tiomap3430.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/drivers/dsp/bridge/core/tiomap3430.c b/drivers/dsp/bridge/core/tiomap3430.c > index c7b0d83..805e6f3 100644 > --- a/drivers/dsp/bridge/core/tiomap3430.c > +++ b/drivers/dsp/bridge/core/tiomap3430.c > @@ -443,7 +443,7 @@ static dsp_status bridge_brd_start(struct bridge_dev_context *hDevContext, > /* Reset and Unreset the RST2, so that BOOTADDR is copied to > * IVA2 SYSC register */ > (*pdata->dsp_prm_rmw_bits)(OMAP3430_RST2_IVA2, > - OMAP3430_RST1_IVA2, OMAP3430_IVA2_MOD, RM_RSTCTRL); > + OMAP3430_RST2_IVA2, OMAP3430_IVA2_MOD, RM_RSTCTRL); > udelay(100); > (*pdata->dsp_prm_rmw_bits)(OMAP3430_RST2_IVA2, 0, > OMAP3430_IVA2_MOD, RM_RSTCTRL); > Tested by: Deepak chitriki