[PATCH] powerpc: Make RTAS console init generic

Michael Ellerman michael at ellerman.id.au
Thu Aug 17 12:04:27 EST 2006


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20060817/cc1ddd1a/attachment.pgp>


More information about the Linuxppc-dev mailing list