[RFC PATCH 10/19] powerpc: gamecube/wii: early debugging using usbgecko
Benjamin Herrenschmidt
benh at kernel.crashing.org
Thu Nov 26 16:14:28 EST 2009
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.
More information about the Linuxppc-dev
mailing list