Subject: Re: [PATCH] powerpc: Make RTAS console init generic

From: Michael Ellerman <[email-masked]>
Date: Thu, 17 Aug 2006 12:04:27 +1000

On Wed, 2006-08-16 at 14:42 -0500, Michael Neuling wrote:
> The rtas console doesn't have to be Cell specific.  If we get both
> rtas tokens, we should just enabled the console then and there.
> 

Seems to work fine on Cell.

> Updated Kconfig so we can enable it.  

I enable it via the early debugging menu (under kernel hacking), is that
not good enough?

>  arch/powerpc/Kconfig                |    2 +-
>  arch/powerpc/kernel/rtas.c          |    5 +++++
>  arch/powerpc/platforms/cell/setup.c |    4 ----
>  3 files changed, 6 insertions(+), 5 deletions(-)
> 
> Index: linux-2.6-ozlabs/arch/powerpc/Kconfig
> ===================================================================
> --- linux-2.6-ozlabs.orig/arch/powerpc/Kconfig
> +++ linux-2.6-ozlabs/arch/powerpc/Kconfig
> @@ -426,7 +426,7 @@ config PPC_IBM_CELL_BLADE
>  	select UDBG_RTAS_CONSOLE
>  
>  config UDBG_RTAS_CONSOLE
> -	bool
> +	bool "RTAS based debug console"
>  	default n

This should probably depend on RTAS?

cheers

-- 
Michael Ellerman
IBM OzLabs

wwweb: http://michael.ellerman.id.au
phone: +61 2 6212 1183 (tie line 70 21183)

We do not inherit the earth from our ancestors,
we borrow it from our children. - S.M.A.R.T Person