DTC/dts modifications

Paul Mackerras paulus at samba.org
Tue May 2 08:14:26 EST 2006


Kumar Gala writes:

> Because of props like:
> 
>        #cpus = <1>;
>        #address-cells = <1>;
>        #size-cells = <0>;
> 
> If these used some other symbol instead of '#' cpp will be happy and  
> we can use it to create macros for us.

I think it will get really really confused if the dts says "$cpus = 1"
but that turns into a "#cpus" property.

There are other macro processors besides cpp, you know - why not look
at m4, for instance?

Paul.



More information about the Linuxppc-dev mailing list