Davinci: serial - conditional reset via pwremu

With this patch, AR7 type uart ports are not reset via pwremu registers.  This
allows davinci_serial_init() reuse on tnetv107x soc.

Signed-off-by: Cyril Chemparathy <cyril@ti.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
This commit is contained in:
Cyril Chemparathy 2010-05-02 14:28:14 -04:00 committed by Kevin Hilman
parent 9ee1acefa8
commit e2800007f3
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ int __init davinci_serial_init(struct davinci_uart_config *info)
pr_err("uart regs ioremap failed\n");
}
if (p->membase)
if (p->membase && p->type != PORT_AR7)
davinci_serial_reset(p);
}