All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
To: linux-sh@vger.kernel.org
Subject: Re: [PATCH 1/2] sh: dma: Collect up CHCR of SH7723 and SH7730
Date: Mon, 19 Mar 2012 00:54:12 +0000	[thread overview]
Message-ID: <4F6683B4.7090301@renesas.com> (raw)
In-Reply-To: <1331865086-20880-1-git-send-email-nobuhiro.iwamatsu.yj@renesas.com>

Hi,

Simon Horman さんは書きました:
> Hi Iwamatsu-san,
> 
> On Fri, Mar 16, 2012 at 11:31:25AM +0900, Nobuhiro Iwamatsu wrote:
>> CHCR of SH7723 and SH7730 is constitution same as SH7724.
> 
> Can I confirm that it is intentional that this patch changes the
> CHCR_TS_HIGH_MASK and CHCR_TS_HIGH_SHIFT values for sh7723 and
> sh7730?

Yes, you can check only sh7730.
I think that sh7724 cannot be checked.
Because the manual of sh7724 is not exhibited.

I checked this change with manual of japanese and english.

Best regards,
   Nobuhiro

> 
>> Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
>> ---
>>  arch/sh/include/cpu-sh4/cpu/dma-register.h |   10 +++-------
>>  1 files changed, 3 insertions(+), 7 deletions(-)
>>
>> diff --git a/arch/sh/include/cpu-sh4/cpu/dma-register.h b/arch/sh/include/cpu-sh4/cpu/dma-register.h
>> index 18fa80a..1af4a95 100644
>> --- a/arch/sh/include/cpu-sh4/cpu/dma-register.h
>> +++ b/arch/sh/include/cpu-sh4/cpu/dma-register.h
>> @@ -16,14 +16,15 @@
>>  
>>  #define DMAOR_INIT	DMAOR_DME
>>  
>> -#if defined(CONFIG_CPU_SUBTYPE_SH7343) || \
>> -	defined(CONFIG_CPU_SUBTYPE_SH7730)
>> +#if defined(CONFIG_CPU_SUBTYPE_SH7343)
>>  #define CHCR_TS_LOW_MASK	0x00000018
>>  #define CHCR_TS_LOW_SHIFT	3
>>  #define CHCR_TS_HIGH_MASK	0
>>  #define CHCR_TS_HIGH_SHIFT	0
>>  #elif defined(CONFIG_CPU_SUBTYPE_SH7722) || \
>> +	defined(CONFIG_CPU_SUBTYPE_SH7723) || \
>>  	defined(CONFIG_CPU_SUBTYPE_SH7724) || \
>> +	defined(CONFIG_CPU_SUBTYPE_SH7730) || \
>>  	defined(CONFIG_CPU_SUBTYPE_SH7786)
>>  #define CHCR_TS_LOW_MASK	0x00000018
>>  #define CHCR_TS_LOW_SHIFT	3
>> @@ -35,11 +36,6 @@
>>  #define CHCR_TS_LOW_SHIFT	3
>>  #define CHCR_TS_HIGH_MASK	0
>>  #define CHCR_TS_HIGH_SHIFT	0
>> -#elif defined(CONFIG_CPU_SUBTYPE_SH7723)
>> -#define CHCR_TS_LOW_MASK	0x00000018
>> -#define CHCR_TS_LOW_SHIFT	3
>> -#define CHCR_TS_HIGH_MASK	0
>> -#define CHCR_TS_HIGH_SHIFT	0
>>  #elif defined(CONFIG_CPU_SUBTYPE_SH7757)
>>  #define CHCR_TS_LOW_MASK	0x00000018
>>  #define CHCR_TS_LOW_SHIFT	3
>> -- 
>> 1.7.9.1
>>
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-sh" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>
> 


  parent reply	other threads:[~2012-03-19  0:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-16  2:31 [PATCH 1/2] sh: dma: Collect up CHCR of SH7723 and SH7730 Nobuhiro Iwamatsu
2012-03-16  4:11 ` Simon Horman
2012-03-19  0:54 ` Nobuhiro Iwamatsu [this message]
2012-03-19  0:56 ` Simon Horman
2012-03-28  5:32 ` Paul Mundt

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=4F6683B4.7090301@renesas.com \
    --to=nobuhiro.iwamatsu.yj@renesas.com \
    --cc=linux-sh@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.