[PATCH 1/7] OF: make drivers depend on CONFIG_OF instead of CONFIG_PPC_OF

Rob Herring robherring2 at gmail.com
Wed Nov 17 15:28:33 EST 2010


Stephen,

On 11/16/2010 05:59 PM, Stephen Rothwell wrote:
> Hi Mitch,
>
> On Tue, 16 Nov 2010 13:40:58 -0700 Grant Likely<grant.likely at secretlab.ca>  wrote:
>>
>> On Tue, Nov 16, 2010 at 02:33:49PM -0600, Rob Herring wrote:
>>> From: Rob Herring<rob.herring at calxeda.com>
>>>
>>> Some OF drivers could likely be used on non-powerpc OF based platforms,
>>> so fix the kconfig depends to be CONFIG_OF instead of CONFIG_PPC_OF
>>>
>>> Signed-off-by: Rob Herring<rob.herring at calxeda.com>
>>
>> Which of these drivers are you actually using, or going to use in the
>> near future?
>
> And have you made sure that you haven't broken the allmodconfig builds on
> other architectures that enable CONFIG_OF?
>

Well no as I don't have compilers for other arch's. The main OF platform 
to test here would be sparc as most of the kconfig options changed here 
already depend on PPC || MICROBLAZE.

I could simply have tacked on "|| ARM", but that seemed like the wrong 
thing to do. So I went down the path of looking at all OF drivers that 
could be used on other arch's.

Rob


More information about the devicetree-discuss mailing list