[PATCH] ARM: pxa: move debug uart code

Igor Grinberg grinberg at compulab.co.il
Wed Apr 10 02:47:03 EDT 2013


On 04/10/13 07:14, Haojian Zhuang wrote:
> Move debug uart code from mach-pxa/mach-mmp to debug directory.
> Since they are similar, merge them together.
> 
> Signed-off-by: Haojian Zhuang <haojian.zhuang at linaro.org>
> ---
>  arch/arm/Kconfig.debug                       |    9 +++++++
>  arch/arm/include/debug/pxa.S                 |   33 ++++++++++++++++++++++++++
>  arch/arm/mach-mmp/include/mach/debug-macro.S |   30 -----------------------
>  arch/arm/mach-pxa/include/mach/debug-macro.S |   23 ------------------
>  4 files changed, 42 insertions(+), 53 deletions(-)
>  create mode 100644 arch/arm/include/debug/pxa.S
>  delete mode 100644 arch/arm/mach-mmp/include/mach/debug-macro.S
>  delete mode 100644 arch/arm/mach-pxa/include/mach/debug-macro.S
> 
> diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug
> index 2bf1973..2267ff7 100644
> --- a/arch/arm/Kconfig.debug
> +++ b/arch/arm/Kconfig.debug
> @@ -330,6 +330,13 @@ choice
>  		  Say Y here if you want kernel low-level debugging support
>  		  on PicoXcell based platforms.
>  
> +	config DEBUG_PXA_UART1
> +		depends on ARCH_PXA
> +		bool "Use PXA UAR0 for low-level debug"

s/UAR0/UART0/

> +		help
> +		  Say Y here if you want kernel low-level debugging support
> +		  on PXA UART1.
> +
>  	config DEBUG_REALVIEW_STD_PORT
>  		bool "RealView Default UART"
>  		depends on ARCH_REALVIEW

[...]


-- 
Regards,
Igor.



More information about the linux-arm-kernel mailing list