Re: [RFC PATCH 10/19] powerpc: gamecube/wii: early debugging using usbgecko
From: Segher Boessenkool <hidden>
Date: 2009-11-26 22:48:05
From: Segher Boessenkool <hidden>
Date: 2009-11-26 22:48:05
quoted
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.
No Ben. The whole point of EARLY_DEBUG is that it _always works_, because it is such trivial code. Don't break that please, or we'll be forced to add a "REALLY_EARLY_DEBUG" instead :-) Segher