[PATCH v3 05/11] memory: add Atmel EBI (External Bus Interface) driver
Arnd Bergmann
arnd at arndb.de
Mon Dec 1 13:28:39 PST 2014
On Monday 01 December 2014 21:28:20 Boris Brezillon wrote:
> > On Monday 01 December 2014 19:29:23 Boris Brezillon wrote:
> > > On Mon, 01 Dec 2014 17:26:27 +0100 Arnd Bergmann <arnd at arndb.de> wrote:
> > >
> > > #define AT91_EBICSA_REGFIELD(off) \
> > > REG_FIELD(ebicsa_off, AT91_MATRIX_EBI_NUM_CS - 1)
> > >
> >
> > That would be acceptable too, but what I really meant is one step further:
> >
> > static const struct reg_field at91sam9260_ebi_csa =
> > REG_FIELD(AT91SAM9260_MATRIX_EBICSA_OFF, 0, AT91_MATRIX_EBI_NUM_CS - 1);
>
> That's what I did in the first place (in a version I didn't submitted),
> and I guess I'll go for that one unless you really prefer the
> alternative (I ran into a lot of trouble with DT bindings ABI
> stability, and I'd prefer to keep DT bindings as simple as
> possible).
Ok, that's good then.
Arnd
More information about the linux-arm-kernel
mailing list