Re: [PATCH 4/4] x86: OLPC: add OLPC device-tree support

Stephen Rothwell
2010-06-29T08:33:49Z

[-- Attachment #1: Type: text/plain, Size: 1024 bytes --]

Hi Andres,

On Tue, 29 Jun 2010 01:12:36 -0700 Grant Likely <grant.likely@secretlab.ca> wrote:
>
> > diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
> > index 71c194d..7aea004 100644
> > --- a/arch/x86/Kconfig
> > +++ b/arch/x86/Kconfig
> > @@ -2071,6 +2071,11 @@ config OLPC_OPENFIRMWARE
> >          that is used on the OLPC XO-1 Children's Machine.
> >          If unsure, say N here.
> >
> > +config OF
> > +       def_bool y
> > +       depends on OLPC_OPENFIRMWARE
> > +       select OF_PROMTREE
> > +
>
> This hunk will need to be respun on top of Stephen's CONFIG_OF change.
> It's currently in my test-devicetree branch on
> git://git.secretlab.ca/git/linux-2.6

Yeah, just make config OLPC_OPENFIRMWARE select OF and OF_PROMTREE and just use

config OF
bool

for now. This will work even without my changes. We will remove those
latter two lines later.
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 490 bytes --]