[PATCH 07/11] ST SPEAr: Added source files for SPEAr3xx machine family

Linus Walleij linus.ml.walleij at gmail.com
Wed Mar 10 00:15:10 EST 2010


2010/3/9 Viresh KUMAR <viresh.kumar at st.com>:

> On 3/9/2010 12:16 PM, Linus Walleij wrote:
>> Hi Viresh,
>>> (...)
>>> +       .irq = {IRQ_UART, NO_IRQ},
>>> +       .periphid = 0x00041011,
>>> +};
>>
>> You're hardcoding the PrimeCell ID to the ARM version, (...)
>
> Actually PL011 is customized by ST's nomadik platform. And hence above
> is true for nomadik only. We are using ARM's version of PL011 without
> any customization over it and so id for our case is still 0x00041011.

OK then you can probably just delete the .periphid line, the only thing that
will do is to override the number found in the ID registers with the same
number. If this doesn't work you certainly have a modified version anyway.

Linus



More information about the linux-arm-kernel mailing list