[PATCH 3/3] ARM: S3C: Kconfig option related to UART dev names

Ben Dooks ben-linux at fluff.org
Wed Jan 27 09:59:33 EST 2010


On Wed, Jan 27, 2010 at 02:18:44PM +0000, Michel Pollet wrote:
> S3C UART devices  are named s3c2410_serialX and it is
> inconsistent with the kernel at boot time (console=ttySACx)
> This patch allows the config file to override this and
> use the standard name instead.

Please merge Â#2 and #3 together.
 
> Signed-off-by: Michel Pollet <buserror at gmail.com>
> ---
>  arch/arm/plat-s3c/Kconfig |    9 +++++++++
>  1 files changed, 9 insertions(+), 0 deletions(-)
> 
> diff --git a/arch/arm/plat-s3c/Kconfig b/arch/arm/plat-s3c/Kconfig
> index 9e9d028..158257a 100644
> --- a/arch/arm/plat-s3c/Kconfig
> +++ b/arch/arm/plat-s3c/Kconfig
> @@ -113,6 +113,15 @@ config S3C_LOWLEVEL_UART_PORT
>  	  this configuration should be between zero and two. The port
>  	  must have been initialised by the boot-loader before use.
>  
> +config S3C_STD_UART_NAMES
> +	bool "Name S3C UART device files as ttySACx"
> +	default n
> +	help
> +	  The kernel and most other SoC use the ttySACx naming scheme
> +	  for UART device file naming. The default for S3C is to use
> +	  s3c2410_serialX, and it confuses a lot of distros; it is also
> +	  inconsistent with the console= kernel parameter.
> +
>  # options for gpiolib support
>  
>  config S3C_GPIO_SPACE
> -- 
> 1.6.6
> 

-- 
-- 
Ben

Q:      What's a light-year?
A:      One-third less calories than a regular year.




More information about the linux-arm-kernel mailing list