lkml.org 
[lkml]   [2009]   [Jan]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH 01/10] omap mailbox: cleanup omap2 register definition with macro
From
From: "ext roel kluin" <roel.kluin@gmail.com>
Subject: Re: [PATCH 01/10] omap mailbox: cleanup omap2 register definition with macro
Date: Fri, 16 Jan 2009 10:56:01 +0100

[...]
> > +#define MAILBOX_SYSCONFIG 0x010
> > +#define MAILBOX_SYSSTATUS 0x014
> > +#define MAILBOX_MESSAGE(m) (0x040 + 4 * (m))
> > +#define MAILBOX_FIFOSTATUS(m) (0x080 + 4 * (m))
> > +#define MAILBOX_MSGSTATUS(m) (0x0c0 + 4 * (m))
> > +#define MAILBOX_IRQSTATUS(u) (0x100 + 8 * (u))
> > +#define MAILBOX_IRQENABLE(u) (0x108 + 8 * (u))
> ^^^^^^^
> shouldn't this be
> #define MAILBOX_IRQENABLE(u) (0x104 + 8 * (u))

Right. I'll fix, thanks.


\
 
 \ /
  Last update: 2009-01-16 13:19    [W:0.062 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site