[PATCH 14/15] Early serial debug support for PPC44x

Josh Boyer jwboyer at linux.vnet.ibm.com
Sat Mar 10 04:42:01 EST 2007


On Thu, 2007-03-08 at 13:44 -0600, Josh Boyer wrote:
> On Mon, 2007-03-05 at 14:24 +1100, David Gibson wrote:
> > 
> > +config PPC_EARLY_DEBUG_44x_PHYSLOW
> > +	hex
> > +	depends PPC_EARLY_DEBUG_44x
> > +	default "0x40000200"
> > +
> > +config PPC_EARLY_DEBUG_44x_PHYSHIGH
> > +	hex
> > +	depends PPC_EARLY_DEBUG_44x
> > +	default "0x1"
> > +
> 
> These two options need to have some kind of description string next to
> hex otherwise Kconfig will not allow you to set them.  I noticed this
> while playing with bamboo.  So something like:
> 
> config PPC_EARLY_DEBUG_44x_PHYSLOW
> 	hex "The low 32bits of the UART address"
> 
> That will allow you to change the values from the default.

And here's a patch to do that.

Fix the PPC_EARLY_DEBUG_44x options to allow setting something other
than the default.

Signed-off-by: Josh Boyer <jwboyer at linux.vnet.ibm.com>

---
 arch/powerpc/Kconfig.debug |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- linux-2.6.orig/arch/powerpc/Kconfig.debug
+++ linux-2.6/arch/powerpc/Kconfig.debug
@@ -205,12 +205,12 @@ config PPC_EARLY_DEBUG_44x
 endchoice
 
 config PPC_EARLY_DEBUG_44x_PHYSLOW
-	hex
+	hex "Low 32bits of UART address"
 	depends PPC_EARLY_DEBUG_44x
 	default "0x40000200"
 
 config PPC_EARLY_DEBUG_44x_PHYSHIGH
-	hex
+	hex "ERPN of UART address"
 	depends PPC_EARLY_DEBUG_44x
 	default "0x1"
 




More information about the Linuxppc-dev mailing list