Subject: Re: Classic PPC specific ASM (CONFIG_6XX)

From: Jerome Glisse <[email-masked]>
Date: Mon, 10 Jan 2005 19:14:28 +0100

> Signed-off-by: Tom Rini <[email-masked]>
> 
> --- 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 ?

The errors are:
undefined reference for cols, lines, vidmems, scroll, orig_x, orig_y
in functions puts, ClearVideoMemory, putc

Jerome Glisse