From: Sandeep Paulraj <[email protected]>

This patch enables UART 1 on the DM365.

Signed-off-by: Sandeep Paulraj <[email protected]>
---
 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

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

Reply via email to