linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: nsekhar@ti.com (Sekhar Nori)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v4 7/9] ARM: davinci: da850 board: Added .reserve function and rproc platform registration
Date: Fri, 4 Jan 2013 17:17:36 +0530	[thread overview]
Message-ID: <50E6C158.7020702@ti.com> (raw)
In-Reply-To: <1355967254-16726-8-git-send-email-rtivy@ti.com>

On 12/20/2012 7:04 AM, Robert Tivy wrote:
> Signed-off-by: Robert Tivy <rtivy@ti.com>
> ---
>  arch/arm/mach-davinci/board-da850-evm.c     |    8 ++++++++
>  arch/arm/mach-davinci/board-omapl138-hawk.c |    8 ++++++++
>  2 files changed, 16 insertions(+)
> 
> diff --git a/arch/arm/mach-davinci/board-da850-evm.c b/arch/arm/mach-davinci/board-da850-evm.c
> index b7cfb3e..0c959e9 100644
> --- a/arch/arm/mach-davinci/board-da850-evm.c
> +++ b/arch/arm/mach-davinci/board-da850-evm.c
> @@ -1550,6 +1550,11 @@ static __init void da850_evm_init(void)
>  		pr_warn("%s: SATA registration failed: %d\n", __func__, ret);
>  
>  	da850_evm_setup_mac_addr();
> +
> +	ret = da8xx_register_rproc();
> +	if (ret)
> +		pr_warn("%s: dsp/rproc registration failed: %d\n",
> +			__func__, ret);
>  }
>  
>  #ifdef CONFIG_SERIAL_8250_CONSOLE
> @@ -1577,4 +1582,7 @@ MACHINE_START(DAVINCI_DA850_EVM, "DaVinci DA850/OMAP-L138/AM18x EVM")
>  	.init_late	= davinci_init_late,
>  	.dma_zone_size	= SZ_128M,
>  	.restart	= da8xx_restart,
> +#ifdef CONFIG_CMA
> +	.reserve	= da8xx_rproc_reserve_cma,
> +#endif

Please get rid of this ifdef as well. You can have an empty function if
remote proc is not enabled in the build.

Thanks,
Sekhar

  parent reply	other threads:[~2013-01-04 11:47 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1355967254-16726-1-git-send-email-rtivy@ti.com>
2012-12-21 22:09 ` [PATCH v4 0/9] ARM: davinci: remoteproc support Tivy, Robert
2013-01-04 12:10   ` Sekhar Nori
2013-01-11  0:48     ` Tivy, Robert
     [not found] ` <1355967254-16726-2-git-send-email-rtivy@ti.com>
2013-01-04  9:01   ` [PATCH v4 1/9] ARM: davinci: da850 board: change pr_warning() to pr_warn() Sekhar Nori
     [not found] ` <1355967254-16726-3-git-send-email-rtivy@ti.com>
2013-01-04  9:15   ` [PATCH v4 2/9] ARM: davinci: devices-da8xx.c: " Sekhar Nori
     [not found] ` <1355967254-16726-6-git-send-email-rtivy@ti.com>
2013-01-04 11:16   ` [PATCH v4 5/9] ARM: davinci: New reset functionality/API provided for Davinci DSP Sekhar Nori
     [not found] ` <1355967254-16726-7-git-send-email-rtivy@ti.com>
2013-01-04 11:45   ` [PATCH v4 6/9] ARM: davinci: Remoteproc platform device creation data/code Sekhar Nori
     [not found] ` <1355967254-16726-8-git-send-email-rtivy@ti.com>
2013-01-04 11:47   ` Sekhar Nori [this message]
     [not found] ` <1355967254-16726-9-git-send-email-rtivy@ti.com>
2013-01-04 11:50   ` [PATCH v4 8/9] ARM: davinci: da850: Added dsp clock definition, keyed to "davinci-rproc.0" Sekhar Nori

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=50E6C158.7020702@ti.com \
    --to=nsekhar@ti.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).