[HACK] add sandpoint + flattened dt support to arch/powerpc/b oot

Benjamin Herrenschmidt benh at kernel.crashing.org
Thu May 18 20:36:36 EST 2006


On Thu, 2006-05-18 at 18:24 +0800, Zang Roy-r61911 wrote:
> > > diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
> > > index 6729c98..de09eac 100644
> > > --- a/arch/powerpc/Kconfig
> > > +++ b/arch/powerpc/Kconfig
> > > @@ -323,7 +323,10 @@ config PPC_ISERIES
> > >  
> > >  config EMBEDDED6xx
> > >  	bool "Embedded 6xx/7xx/7xxx-based board"
> > > -	depends on PPC32 && BROKEN
> > > +	depends on PPC32
> > > +	select PPC_UDBG_16550
> > > +	select MPIC
> > > +	select MPIC_SERIAL
> > 
> > Not totally related to your patch but I'm tempted to turn that into a
> > "Generic 6xx/7xx/7xxx" rather than "embedded" if we manage to always
> > avoid board specific code most of the time, but instead add necessary
> > bits in the device-tree. We still need a per-board Kconfig option I
> > think that will just select the necessary bits and pieces 
> > (and more than
> > one can be selected at one time). Also, I think right now, 
> > the embedded
> > stuff is +/- exclusive from the MULTIPLATFORM stuff, that 
> > must be fixed
> > asap. We are all living in the same kernel now :)
> 
> config Embedded6xx is not accurate. It can not cover all the 
> board with 7xx/7xxx based processor.

Forget about CONFIG_EMBEDDED6xx, just do your own CONFIG_BOARDNAME for
now, the processor is irrelevant as long as it's a 6xx/7xx/7xxx
derivative.

Ben.





More information about the Linuxppc-dev mailing list