Linux Samsung SOC development
 help / color / mirror / Atom feed
From: Kukjin Kim <kgene.kim@samsung.com>
To: 'Sachin Kamat' <sachin.kamat@linaro.org>,
	linux-samsung-soc@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org
Subject: RE: [PATCH 1/1] ARM: EXYNOS: Add support to reserve memory for MFC-v7
Date: Thu, 20 Mar 2014 11:10:12 +0900	[thread overview]
Message-ID: <019e01cf43e1$86e3c390$94ab4ab0$@samsung.com> (raw)
In-Reply-To: <1395046487-21249-1-git-send-email-sachin.kamat@linaro.org>

Sachin Kamat wrote:
> 
> Reserve memory for MFC-v7 IP.
> 
> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
> ---
> Based on top of Tushar's patch:
> [PATCH V2] ARM: SAMSUNG: Reorganize calls to reserve memory for MFC
> http://www.spinics.net/lists/linux-samsung-soc/msg25501.html
> ---
>  arch/arm/mach-exynos/mach-exynos5-dt.c |   10 +++++++++-
>  1 file changed, 9 insertions(+), 1 deletion(-)
> 
> diff --git a/arch/arm/mach-exynos/mach-exynos5-dt.c
b/arch/arm/mach-exynos/mach-
> exynos5-dt.c
> index 9586439b2d0e..9a8a798d2ad0 100644
> --- a/arch/arm/mach-exynos/mach-exynos5-dt.c
> +++ b/arch/arm/mach-exynos/mach-exynos5-dt.c
> @@ -59,7 +59,15 @@ static char const *exynos5_dt_compat[] __initdata = {
>  static void __init exynos5_reserve(void)
>  {
>  #ifdef CONFIG_S5P_DEV_MFC
> -	of_scan_flat_dt(s5p_fdt_alloc_mfc_mem, "samsung,mfc-v6");
> +	int i;
> +	char *mfc_mem[] = {
> +		"samsung,mfc-v6",
> +		"samsung,mfc-v7",
> +	};
> +
> +	for (i = 0; i < ARRAY_SIZE(mfc_mem); i++)
> +		if (of_scan_flat_dt(s5p_fdt_alloc_mfc_mem, mfc_mem[i]))
> +			break;
>  #endif
>  }
> 
> --
> 1.7.9.5

Looks OK, will apply.

Thanks,
Kukjin

      reply	other threads:[~2014-03-20  2:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-17  8:54 [PATCH 1/1] ARM: EXYNOS: Add support to reserve memory for MFC-v7 Sachin Kamat
2014-03-20  2:10 ` Kukjin Kim [this message]

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='019e01cf43e1$86e3c390$94ab4ab0$@samsung.com' \
    --to=kgene.kim@samsung.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-samsung-soc@vger.kernel.org \
    --cc=sachin.kamat@linaro.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