Vitaly Wool wrote:

> inlined is the patch that fixes compilation breakage for KGDB on PXA. I;ve 
> sent the older version of this one some month ago but I guess it got lost 
> during the CVS -> git transition :)

    This patch has also slipped thru the cracks -- I guess I'll have to resend 
now?

>  arch/arm/mach-pxa/kgdb-serial.c |    2 +-
>  lib/Kconfig.kgdb                |   17 ++++++++++++++++-
>  2 files changed, 17 insertions(+), 2 deletions(-)
> 
>  Signed-off-by: Vitaly Wool <[EMAIL PROTECTED]>
> 
> Index: linux-2.6.18/arch/arm/mach-pxa/kgdb-serial.c
> ===================================================================
> --- linux-2.6.18.orig/arch/arm/mach-pxa/kgdb-serial.c
> +++ linux-2.6.18/arch/arm/mach-pxa/kgdb-serial.c
> @@ -63,7 +63,7 @@ static int kgdb_serial_init(void)
>       return 0;
>  }
>  
> -static void kgdb_serial_putchar(int c)
> +static void kgdb_serial_putchar(u8 c)
>  {
>       if (!(CKEN & CKEN_UART) || port[UART_IER] != IER_UUE)
>               kgdb_serial_init();
> Index: linux-2.6.18/lib/Kconfig.kgdb
> ===================================================================
> --- linux-2.6.18.orig/lib/Kconfig.kgdb
> +++ linux-2.6.18/lib/Kconfig.kgdb
> @@ -135,6 +135,21 @@ config KGDB_PXA_SERIAL
>         Enables the KGDB serial driver for Intel PXA SOC
>  endchoice
>  
> +choice
> +     prompt "PXA serial UART for KGDB"
> +     depends on KGDB_PXA_SERIAL
> +     default KGDB_PXA_FFUART
> +
> +config KGDB_PXA_FFUART
> +     bool "FFUART"
> +
> +config KGDB_PXA_BTUART
> +     bool "BTUART"
> +
> +config KGDB_PXA_STUART
> +     bool "STUART"
> +endchoice
> +
>  config KGDBOE
>       tristate "KGDB: On ethernet" if !KGDBOE_NOMODULE
>       depends on m && KGDB
> @@ -169,7 +184,7 @@ config KGDB_SIMPLE_SERIAL
>  
>  config KGDB_BAUDRATE
>       int "Debug serial port baud rate"
> -     depends on (KGDB_8250 && KGDB_SIMPLE_SERIAL)
> +     depends on (KGDB_8250 && KGDB_SIMPLE_SERIAL) || KGDB_PXA_SERIAL
>       default "115200"
>       help
>         gdb and the kernel stub need to agree on the baud rate to be

WBR, Sergei

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Kgdb-bugreport mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/kgdb-bugreport

Reply via email to