Hi, This change is board specific and not SoC specific.
Regards, Sudhakar ________________________________________ From: Sergei Shtylyov [EMAIL PROTECTED] Sent: Saturday, September 13, 2008 7:06 PM To: Rajashekhara, Sudhakar Cc: [email protected] Subject: Re: [PATCH v4 09/10] ARM: DaVinci: serial mis-behavior on dm6467 Hello. Rajashekhara, Sudhakar wrote: > Yes, this change is not required for DM644x. > What I was asking was whether this code is really board speific or is it SoC specific. Sorry for not spelling this out. > Regards, Sudhakar > > -----Original Message----- > From: Sergei Shtylyov [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 10, 2008 4:04 PM > To: Rajashekhara, Sudhakar > Cc: [email protected] > Subject: Re: [PATCH v4 09/10] ARM: DaVinci: serial mis-behavior on dm6467 > > Hello. > > Sudhakar Rajashekhara wrote: > >> Fixes UART mis-behavior on dm6467. >> >> Signed-off-by: Sudhakar Rajashekhara <[EMAIL PROTECTED]> >> --- >> arch/arm/mach-davinci/board-dm6467-evm.c | 14 ++++++++++++++ >> 1 files changed, 14 insertions(+), 0 deletions(-) >> >> diff --git a/arch/arm/mach-davinci/board-dm6467-evm.c >> b/arch/arm/mach-davinci/board-dm6467-evm.c >> index 03cd7d1..8867a56 100644 >> --- a/arch/arm/mach-davinci/board-dm6467-evm.c >> +++ b/arch/arm/mach-davinci/board-dm6467-evm.c >> @@ -64,6 +64,20 @@ static void __init evm_init_i2c(void) >> davinci_init_i2c(&i2c_pdata); >> } >> >> +#define UART_DM6467_SCR __REG(DAVINCI_UART0_BASE + 0x40) >> +/* >> + * Internal UARTs need to be initialized for the 8250 autoconfig to work >> + * properly. Note that the TX watermark initialization may not be needed >> + * once the 8250.c watermark handling code is merged. >> + */ >> +static int __init dm646x_serial_reset(void) >> +{ >> + UART_DM6467_SCR = 0x08; >> + >> + return 0; >> +} >> +late_initcall(dm646x_serial_reset); >> + >> > > Is this code really specific to DM646x EVM board? > WBR, Sergei_______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
