Skip to content

Commit

Permalink
Davinci: serial - conditional reset via pwremu
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Cyril Chemparathy authored and Kevin Hilman committed May 6, 2010
1 parent 9ee1ace commit e280000
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/mach-davinci/serial.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit e280000

Please sign in to comment.