[PATCH] [POWERPC] Xilinx: add compatibility for 'simple-bus'.

Grant Likely grant.likely at secretlab.ca
Sat Jun 7 01:29:24 EST 2008


On Tue, Jun 3, 2008 at 3:41 PM, Stephen Neuendorffer
<stephen.neuendorffer at xilinx.com> wrote:
>
> It appears that this turns out to interact badly with the probing of
> PPC_UDBG_16550, which is always enabled on PPC405 (and apparently
> found!) even though Virtex devices don't have them.

What is the symptom?

g.

>
> Steve
>
>> -----Original Message-----
>> From: Stephen Neuendorffer [mailto:stephen.neuendorffer at xilinx.com]
>> Sent: Thursday, May 08, 2008 11:25 AM
>> To: dwg at au1.ibm.com; jwboyer at linux.vnet.ibm.com;
> grant.likely at secretlab.ca; linuxppc-dev at ozlabs.org
>> Cc: Stephen Neuendorffer
>> Subject: [PATCH] [POWERPC] Xilinx: add compatibility for 'simple-bus'.
>>
>> ePAPR drafts propose 'simple-bus' as a generic compatibility type for
>> busses which cannot be probed for devices.  In addition, the Xilinx
>> versions of these IPs seem to be proliferating.  Hence, in the future
>> let's prefer to use the standard names.  I've left the old names in
>> for short term backward compatibility for existing device trees.
>>
>> Signed-off-by: Stephen Neuendorffer <stephen.neuendorffer at xilinx.com>
>> ---
>>  arch/powerpc/platforms/40x/virtex.c |    1 +
>>  1 files changed, 1 insertions(+), 0 deletions(-)
>>
>> diff --git a/arch/powerpc/platforms/40x/virtex.c
> b/arch/powerpc/platforms/40x/virtex.c
>> index 6c72994..b1ab7b8 100644
>> --- a/arch/powerpc/platforms/40x/virtex.c
>> +++ b/arch/powerpc/platforms/40x/virtex.c
>> @@ -16,6 +16,7 @@
>>  #include <asm/xilinx_intc.h>
>>
>>  static struct of_device_id xilinx_of_bus_ids[] __initdata = {
>> +     { .compatible = "simple-bus", },
>>       { .compatible = "xlnx,plb-v46-1.00.a", },
>>       { .compatible = "xlnx,plb-v46-1.02.a", },
>>       { .compatible = "xlnx,plb-v34-1.01.a", },
>> --
>> 1.5.3.4

-- 
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.



More information about the Linuxppc-dev mailing list