[PATCH 3/5] S3C: Add S3C2416 detection to uncompress code

Ben Dooks ben-linux at fluff.org
Tue Apr 27 22:28:04 EDT 2010


On Wed, Aug 19, 2009 at 04:31:05PM +0300, Yauhen Kharuzhy wrote:
> Add S3C2416 serial port setup to uncompress code.

looks ok.
 
> Signed-off-by: Yauhen Kharuzhy <jekhor at gmail.com>
> ---
>  arch/arm/mach-s3c2410/include/mach/uncompress.h |    4 +++-
>  1 files changed, 3 insertions(+), 1 deletions(-)
> 
> diff --git a/arch/arm/mach-s3c2410/include/mach/uncompress.h b/arch/arm/mach-s3c2410/include/mach/uncompress.h
> index c943210..0c431dd 100644
> --- a/arch/arm/mach-s3c2410/include/mach/uncompress.h
> +++ b/arch/arm/mach-s3c2410/include/mach/uncompress.h
> @@ -41,7 +41,9 @@ static void arch_detect_cpu(void)
>  	cpuid &= S3C2410_GSTATUS1_IDMASK;
>  
>  	if (is_arm926() || cpuid == S3C2410_GSTATUS1_2440 ||
> -	    cpuid == S3C2410_GSTATUS1_2442) {
> +	    cpuid == S3C2410_GSTATUS1_2442 ||
> +	    cpuid == S3C2410_GSTATUS1_2416 ||
> +	    cpuid == S3C2410_GSTATUS1_2450) {
>  		fifo_mask = S3C2440_UFSTAT_TXMASK;
>  		fifo_max = 63 << S3C2440_UFSTAT_TXSHIFT;
>  	} else {
> -- 
> 1.6.3.3
> 
> 
> -------------------------------------------------------------------
> List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm-kernel
> FAQ:        http://www.arm.linux.org.uk/mailinglists/faq.php
> Etiquette:  http://www.arm.linux.org.uk/mailinglists/etiquette.php

-- 
-- 
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