public inbox for linux-arm-kernel@lists.infradead.org 
 help / color / mirror / Atom feed
From: gregory.clement@free-electrons•com (Gregory CLEMENT)
To: linux-arm-kernel@lists•infradead.org
Subject: [PATCH v2 1/7] ARM: mvebu: Rename DEBUG_LL to indicate UART index
Date: Tue, 06 Jan 2015 22:07:49 +0100	[thread overview]
Message-ID: <54AC4EA5.3060904@free-electrons.com> (raw)
In-Reply-To: <1420558100-4700-2-git-send-email-maxime.ripard@free-electrons.com>

Hi Maxime,

On 06/01/2015 16:28, Maxime Ripard wrote:
> The mvebu SoCs actually have more UARTs than just the one exposed in DEBUG_LL
> yet.
> 
> In order to differentiate them, Add the index in the configuration options and
> their help.
> 
> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons•com>
> Acked-by: Jason Cooper <jason@lakedaemon•net>

Acked-by: Gregory CLEMENT <gregory.clement@free-electrons•com>


Thanks,

Gregory

> ---
>  arch/arm/Kconfig.debug | 18 +++++++++---------
>  1 file changed, 9 insertions(+), 9 deletions(-)
> 
> diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug
> index 5ddd4906f7a7..eb3991cf63ab 100644
> --- a/arch/arm/Kconfig.debug
> +++ b/arch/arm/Kconfig.debug
> @@ -455,13 +455,13 @@ choice
>  		  Please adjust DEBUG_UART_PHYS and DEBUG_UART_BASE configuration
>  		  options based on your needs.
>  
> -	config DEBUG_MVEBU_UART
> -		bool "Kernel low-level debugging messages via MVEBU UART (old bootloaders)"
> +	config DEBUG_MVEBU_UART0
> +		bool "Kernel low-level debugging messages via MVEBU UART0 (old bootloaders)"
>  		depends on ARCH_MVEBU
>  		select DEBUG_UART_8250
>  		help
>  		  Say Y here if you want kernel low-level debugging support
> -		  on MVEBU based platforms.
> +		  on MVEBU based platforms on UART0.
>  
>  		  This option should be used with the old bootloaders
>  		  that left the internal registers mapped at
> @@ -474,13 +474,13 @@ choice
>  		  when u-boot hands over to the kernel, the system
>  		  silently crashes, with no serial output at all.
>  
> -	config DEBUG_MVEBU_UART_ALTERNATE
> -		bool "Kernel low-level debugging messages via MVEBU UART (new bootloaders)"
> +	config DEBUG_MVEBU_UART0_ALTERNATE
> +		bool "Kernel low-level debugging messages via MVEBU UART0 (new bootloaders)"
>  		depends on ARCH_MVEBU
>  		select DEBUG_UART_8250
>  		help
>  		  Say Y here if you want kernel low-level debugging support
> -		  on MVEBU based platforms.
> +		  on MVEBU based platforms on UART0.
>  
>  		  This option should be used with the new bootloaders
>  		  that remap the internal registers at 0xf1000000.
> @@ -1282,7 +1282,7 @@ config DEBUG_UART_PHYS
>  	default 0xc8000000 if ARCH_IXP4XX && !CPU_BIG_ENDIAN
>  	default 0xc8000003 if ARCH_IXP4XX && CPU_BIG_ENDIAN
>  	default 0xd0000000 if ARCH_SPEAR3XX || ARCH_SPEAR6XX
> -	default 0xd0012000 if DEBUG_MVEBU_UART
> +	default 0xd0012000 if DEBUG_MVEBU_UART0
>  	default 0xc81004c0 if DEBUG_MESON_UARTAO
>  	default 0xd4017000 if DEBUG_MMP_UART2
>  	default 0xd4018000 if DEBUG_MMP_UART3
> @@ -1296,7 +1296,7 @@ config DEBUG_UART_PHYS
>  	default 0xe8008000 if DEBUG_R7S72100_SCIF2
>  	default 0xf0000be0 if ARCH_EBSA110
>  	default 0xf040ab00 if DEBUG_BRCMSTB_UART
> -	default 0xf1012000 if DEBUG_MVEBU_UART_ALTERNATE
> +	default 0xf1012000 if DEBUG_MVEBU_UART0_ALTERNATE
>  	default 0xf1012000 if ARCH_DOVE || ARCH_MV78XX0 || \
>  				ARCH_ORION5X
>  	default 0xf7fc9000 if DEBUG_BERLIN_UART
> @@ -1377,7 +1377,7 @@ config DEBUG_UART_VIRT
>  	default 0xfeb30c00 if DEBUG_KEYSTONE_UART0
>  	default 0xfeb31000 if DEBUG_KEYSTONE_UART1
>  	default 0xfec02000 if DEBUG_SOCFPGA_UART
> -	default 0xfec12000 if DEBUG_MVEBU_UART || DEBUG_MVEBU_UART_ALTERNATE
> +	default 0xfec12000 if DEBUG_MVEBU_UART0 || DEBUG_MVEBU_UART0_ALTERNATE
>  	default 0xfec20000 if DEBUG_DAVINCI_DMx_UART0
>  	default 0xfec90000 if DEBUG_RK32_UART2
>  	default 0xfed0c000 if DEBUG_DAVINCI_DA8XX_UART1
> 


-- 
Gregory Clement, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

  reply	other threads:[~2015-01-06 21:07 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-06 15:28 [PATCH v2 0/7] ARM: mvebu: Add Armada 385 AP support Maxime Ripard
2015-01-06 15:28 ` [PATCH v2 1/7] ARM: mvebu: Rename DEBUG_LL to indicate UART index Maxime Ripard
2015-01-06 21:07   ` Gregory CLEMENT [this message]
2015-01-06 15:28 ` [PATCH v2 2/7] ARM: mvebu: Add UART1 as DEBUG_LL possible target Maxime Ripard
2015-01-06 21:08   ` Gregory CLEMENT
2015-01-06 15:28 ` [PATCH v2 3/7] ARM: mvebu: a38x: Fix node names Maxime Ripard
2015-01-06 21:10   ` Gregory CLEMENT
2015-01-06 15:28 ` [PATCH v2 4/7] pinctrl: mvebu: a38x: Add UART1 muxing options Maxime Ripard
2015-01-06 15:28 ` [PATCH v2 5/7] ARM: mvebu: A38x: Remove redundant pinctrl informations Maxime Ripard
2015-01-06 21:11   ` Gregory CLEMENT
2015-01-06 15:28 ` [PATCH v2 6/7] ARM: mvebu: Add a number of pinctrl functions Maxime Ripard
2015-01-06 21:25   ` Gregory CLEMENT
2015-01-06 15:28 ` [PATCH v2 7/7] ARM: mvebu: Add Armada 385 Access Point Development Board support Maxime Ripard
2015-01-06 15:57   ` Andrew Lunn
2015-01-06 17:31     ` Maxime Ripard
2015-01-06 18:07       ` Andrew Lunn
2015-01-07  9:59         ` Maxime Ripard
2015-01-07 14:34           ` Andrew Lunn
2015-01-07 16:26             ` Gregory CLEMENT
2015-01-08 15:21       ` Nadav Haklai
2015-01-06 21:47   ` Gregory CLEMENT
2015-01-07  9:27     ` Maxime Ripard
2015-01-07 15:25   ` Gregory CLEMENT

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=54AC4EA5.3060904@free-electrons.com \
    --to=gregory.clement@free-electrons$(echo .)com \
    --cc=linux-arm-kernel@lists$(echo .)infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox