Re: Avoiding #ifdefs

Bill Gatliff <[email protected]>
Newsgroups gmane.linux.ports.arm.general
Message-ID <[email protected]>
David Woodhouse wrote:
> On Wed, 2010-01-06 at 09:18 -0600, Bill Gatliff wrote:
>   
>> CoDeBrEaKeR wrote:
>>     
>>> the problem is we don't have machine_is_omap_3630sdp(),
>>> what's available is something like machine_is_omap_3630().
>>>
>>> And there are diff types of boards which is why the #ifdef.
>>>   
>>>       
>> Sounds like you need your own machine identifiers.
>>     
>
> Or a device-tree.
>   

Actually, that would be my preferred choice--- but it seems as though
that's a pretty new concept in the ARM world.  :)

Works a treat over in PPC-land, though!


b.g.

-- 
Bill Gatliff
Embedded systems training and consulting
http://billgatliff.com
[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.