Subject: Re: [RFC PATCH 10/19] powerpc: gamecube/wii: early debugging using usbgecko

From: Benjamin Herrenschmidt <[email-masked]>
Date: Thu, 26 Nov 2009 16:14:28 +1100

On Sun, 2009-11-22 at 23:27 +0100, Arnd Bergmann wrote:
> 
> This will probably break other platforms if
> CONFIG_PPC_EARLY_DEBUG_USBGECKO
> is set. In general, we try hard to make it possible to build generic
> kernels for multiple systems, so it would be better to also add a
> runtime check here.

No Arnd. The whole point of EARLY_DEBUG is that it is -known- to break
other platforms :-) So that we can use it before we even get to probe
anything.

I am still tempted, one day, to change the kernel early init to setup a
stack in .bss and go straight to C to do that sort of stuff by parsing
the flat DT, this could be done using pretty much completely generic
code :-) But not right now.

Cheers,
Ben.