[PATCH 1/4] amba: add name based matching

Linus Walleij linus.walleij at linaro.org
Tue Mar 15 10:55:32 EDT 2011


On Tue, Mar 15, 2011 at 3:49 PM, Russell King - ARM Linux
<linux at arm.linux.org.uk> wrote:

> I really hate the idea of matching AMBA stuff by name.  Isn't there any
> other solution to this?

The second option I would try is to add a field to the platform data
for pl022 and mmci/pl180 such as "u8 silicon_revision" and encode
that with some 0x01, 0x02, 0x03... for the silicon revisions that
matter to behaviour.

Would you prefer this approach?

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list