Linux Framebuffer Layer development
 help / color / mirror / Atom feed
From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: linux-fbdev@vger.kernel.org
Subject: Re: [PATCH 1/4] fbdev: sh_mobile_meram: Replace hardcoded register values with macros
Date: Tue, 20 Sep 2011 21:25:47 +0000	[thread overview]
Message-ID: <201109202325.47612.laurent.pinchart@ideasonboard.com> (raw)

Hi Damien,

On Tuesday 02 August 2011 10:43:51 Damian Hobson-Garcia wrote:

Oops, late reply :-/

> > -#define MExxCTL 0x0
> > -#define MExxBSIZE 0x4
> > -#define MExxMNCF 0x8
> > -#define MExxSARA 0x10
> > -#define MExxSARB 0x14
> > -#define MExxSBSIZE 0x18
> 
> [snip]
> 
> > +#define MExxCTL			0x400
> > +#define MExxBSIZE		0x404
> > +#define MExxMNCF		0x408
> > +#define MExxSARA		0x410
> > +#define MExxSARB		0x414
> > +#define MExxSBSIZE		0x418
> 
> One small comment on the definition of these register offsets and
> explanation of what I was originally thinking.  Since each of these
> actually reprents a series of registers, one per ICB, (i.e. ME00CTL,
> ME01CTL, etc.) it makes sense to me to represent them as an offset from
> the base address (0x400) + the start of each ICB address (0x20 * index).
> 
> Other than that, looks great.

Thanks. I've sent a v2.

-- 
Regards,

Laurent Pinchart

             reply	other threads:[~2011-09-20 21:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-20 21:25 Laurent Pinchart [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-07-30 20:26 [PATCH 1/4] fbdev: sh_mobile_meram: Replace hardcoded register values with macros Laurent Pinchart

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=201109202325.47612.laurent.pinchart@ideasonboard.com \
    --to=laurent.pinchart@ideasonboard.com \
    --cc=linux-fbdev@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox