Message ID | 1250872573-17033-1-git-send-email-s-paulraj@ti.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Please ignore this patch. It depends on another patch in my local branch > -----Original Message----- > From: Paulraj, Sandeep > Sent: Friday, August 21, 2009 12:36 PM > To: davinci-linux-open-source@linux.davincidsp.com > Cc: Paulraj, Sandeep > Subject: [PATCH] DaVinci: DM365: adding support for UART 1 > > From: Sandeep Paulraj <s-paulraj@ti.com> > > This patch enables UART 1 on the DM365. > > Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com> > --- > arch/arm/mach-davinci/serial.c | 3 ++- > 1 files changed, 2 insertions(+), 1 deletions(-) > > diff --git a/arch/arm/mach-davinci/serial.c b/arch/arm/mach- > davinci/serial.c > index c2bcd2c..5585b01 100644 > --- a/arch/arm/mach-davinci/serial.c > +++ b/arch/arm/mach-davinci/serial.c > @@ -84,7 +84,8 @@ int __init davinci_serial_init(struct > davinci_uart_config *info) > * You have to mux them off in device drivers later on if not > needed. > */ > for (i = 0; i < DAVINCI_MAX_NR_UARTS; i++, p++) { > - if (!cpu_is_davinci_dm355()) { > + if (!cpu_is_davinci_dm355() && > + !cpu_is_davinci_dm365()) { > if (!(info->enabled_uarts & (1 << i))) > continue; > } > -- > 1.6.0.4
diff --git a/arch/arm/mach-davinci/serial.c b/arch/arm/mach-davinci/serial.c index c2bcd2c..5585b01 100644 --- a/arch/arm/mach-davinci/serial.c +++ b/arch/arm/mach-davinci/serial.c @@ -84,7 +84,8 @@ int __init davinci_serial_init(struct davinci_uart_config *info) * You have to mux them off in device drivers later on if not needed. */ for (i = 0; i < DAVINCI_MAX_NR_UARTS; i++, p++) { - if (!cpu_is_davinci_dm355()) { + if (!cpu_is_davinci_dm355() && + !cpu_is_davinci_dm365()) { if (!(info->enabled_uarts & (1 << i))) continue; }