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

From: Stephen Rothwell
Date: Tue Jun 29 2010 - 04:33:52 EST


Hi Andres,

On Tue, 29 Jun 2010 01:12:36 -0700 Grant Likely <grant.likely@xxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxx
http://www.canb.auug.org.au/~sfr/

Attachment: pgp00000.pgp
Description: PGP signature