From patchwork Sun Nov 7 22:48:10 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felipe Contreras X-Patchwork-Id: 307512 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id oA7MmEHg003977 for ; Sun, 7 Nov 2010 22:48:14 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751981Ab0KGWsM (ORCPT ); Sun, 7 Nov 2010 17:48:12 -0500 Received: from mail-bw0-f46.google.com ([209.85.214.46]:44469 "EHLO mail-bw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751439Ab0KGWsM (ORCPT ); Sun, 7 Nov 2010 17:48:12 -0500 Received: by bwz11 with SMTP id 11so4283342bwz.19 for ; Sun, 07 Nov 2010 14:48:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=UiCQR5eIjjXZf+lntgr9du/pOT2eNols2lS4mVPZBa0=; b=BW40fq8TnReywMQyiRJ4psDcCvCCXNCWyWikP1Jcy2WHZxQ8o7I+/Iys/ac1vDA9r2 trOrnjlV2cmfAPR2Tan7geUibOzQTWjnnR0V0JAfpdmH47FxHPkvnS2J4LagZzeQp90L 2H+w4ewVV73XYz6KKBhBfW0WDVUolG3mpsz3I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=npZrJ2z0arZGpkssibmKgNCigQ2Ju+6DBVrXlWgt26teyq7j9xeAOCo/JizfFG7xJD qhtJLz7C1LggEMxr7dZAEMuXTnjruwlCcP9LWOGIL45WJkB7qApxLJpDEcDbCwynGn9w SCBnS8mQPtY156HY1f4s6iNrC8uo7liGNDPC8= MIME-Version: 1.0 Received: by 10.204.56.194 with SMTP id z2mr4326881bkg.129.1289170091002; Sun, 07 Nov 2010 14:48:11 -0800 (PST) Received: by 10.204.60.20 with HTTP; Sun, 7 Nov 2010 14:48:10 -0800 (PST) In-Reply-To: <20101107220213.GB21070@kroah.com> References: <1289166209-32251-1-git-send-email-felipe.contreras@gmail.com> <20101107220213.GB21070@kroah.com> Date: Mon, 8 Nov 2010 00:48:10 +0200 Message-ID: Subject: Re: [PATCH 0/5] omap: dsp: fixes for 2.6.37-rc1 From: Felipe Contreras To: Greg KH Cc: linux-omap , Omar Ramirez Luna , Tony Lindgren , Paul Walmsley , Fernando Guzman Lugo Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Sun, 07 Nov 2010 22:48:14 +0000 (UTC) --- a/drivers/staging/tidspbridge/core/tiomap3430.c +++ b/drivers/staging/tidspbridge/core/tiomap3430.c @@ -23,7 +23,6 @@ #include #include #include -#include /* ----------------------------------- DSP/BIOS Bridge */ #include @@ -74,6 +73,18 @@ #define PAGES_II_LVL_TABLE 512 #define PHYS_TO_PAGE(phys) pfn_to_page((phys) >> PAGE_SHIFT) +/* + * This is a totally ugly layer violation, but needed until + * omap_ctrl_set_dsp_boot*() are provided. + */ +#define OMAP3_IVA2_BOOTMOD_IDLE 1 +#define OMAP2_CONTROL_GENERAL 0x270 +#define OMAP343X_CONTROL_IVA2_BOOTADDR (OMAP2_CONTROL_GENERAL + 0x0190) +#define OMAP343X_CONTROL_IVA2_BOOTMOD (OMAP2_CONTROL_GENERAL + 0x0194) + +#define OMAP343X_CTRL_REGADDR(reg) \ + OMAP2_L4_IO_ADDRESS(OMAP343X_CTRL_BASE + (reg)) + /* Forward Declarations: */ static int bridge_brd_monitor(struct bridge_dev_context *dev_ctxt); static int bridge_brd_read(struct bridge_dev_context *dev_ctxt,