Troy,

Sorry for the late response.

It is a bug in the current git tree. The cpu is decided based on the system_rev 
variable and it is being compared with 6446 (Refer to 
arch/arm/mach-davinci/id.c for details). So in the current tree, the function 
cpu_is_davinci_dm6443 will never be true.

Regards, Sudhakar

________________________________________
From: Troy Kisky [EMAIL PROTECTED]
Sent: Thursday, August 14, 2008 1:48 AM
To: Rajashekhara, Sudhakar
Cc: [email protected]
Subject: Re: [PATCH v3 01/12] ARM: DaVinci: replace dm6443 with dm644x

Sudhakar Rajashekhara wrote:
> Description:
> Replaces occurrences of dm6443 with dm644x.
> Signed-off-by: Sudhakar Rajashekhara <[EMAIL PROTECTED]>
> ---
>  include/asm-arm/arch-davinci/cpu.h |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/include/asm-arm/arch-davinci/cpu.h 
> b/include/asm-arm/arch-davinci/cpu.h
> index c7d190b..2f8ce78 100644
> --- a/include/asm-arm/arch-davinci/cpu.h
> +++ b/include/asm-arm/arch-davinci/cpu.h
> @@ -25,7 +25,7 @@ static inline int cpu_is_davinci_dm ##type (void)   \
>  }
>
>  /* following generates the cpu_is_davinci_dmxxx */
> -IS_DAVINCI_CPU(6443, 0x6443) /* cpu_is_davinci_dm6443() */
> +IS_DAVINCI_CPU(644x, 0x6446) /* cpu_is_davinci_dm644x() */
>  IS_DAVINCI_CPU(6467, 0x6467) /* cpu_is_davinci_dm6467() */
>  IS_DAVINCI_CPU(350, 0x350)   /* cpu_is_davinci_dm350() */
>
I don't understand how this works. It looks like
a 6443 will now fail a cpu_is_davinci_dm644x() test.

Troy_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to