Classic PPC specific ASM (CONFIG_6XX)

Tom Rini trini at kernel.crashing.org
Tue Jan 11 05:29:41 EST 2005


On Mon, Jan 10, 2005 at 07:14:28PM +0100, Jerome Glisse wrote:
> > Signed-off-by: Tom Rini <trini at kernel.crashing.org>
> > 
> > --- 1.40/arch/ppc/boot/simple/Makefile  2005-01-03 16:49:19 -07:00
> > +++ edited/arch/ppc/boot/simple/Makefile        2005-01-10 07:51:34 -07:00
> > @@ -112,11 +112,15 @@
> >           end-$(pcore)                  := pcore
> >     cacheflag-$(pcore)                  := -include $(clear_L2_L3)
> > 
> > +# PPC_PREP can be set to y on a PPC970 configuration, which isn't a real
> > +# machine.
> > +ifeq ($(CONFIG_6xx),y)
> >        zimage-$(CONFIG_PPC_PREP)                := zImage-PPLUS
> >  zimageinitrd-$(CONFIG_PPC_PREP)                := zImage.initrd-PPLUS
> >       extra.o-$(CONFIG_PPC_PREP)                := prepmap.o
> >          misc-$(CONFIG_PPC_PREP)                += misc-prep.o mpc10x_memory.o
> >           end-$(CONFIG_PPC_PREP)                := prep
> > +endif
> > 
> >           end-$(CONFIG_SANDPOINT)       := sandpoint
> >     cacheflag-$(CONFIG_SANDPOINT)       := -include $(clear_L2_L3)
> > 
> 
> This do not compile with this patch maybe need also to define
> CONFIG_6xx if PPC970 is selected as processor ?

I have a feeling CONFIG_6xx isn't selected for a good reason.  Can you
try, as a kludge, removing define_bool PPC_PREP from arch/ppc/Kconfig
and seeing if you can build / boot ?  Thanks.

-- 
Tom Rini
http://gate.crashing.org/~trini/



More information about the Linuxppc64-dev mailing list