sparc32,leon: Fixed APBUART frequency detection
authorDaniel Hellstrom <daniel@gaisler.com>
Wed, 30 Mar 2011 01:12:41 +0000 (01:12 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 30 Mar 2011 11:28:54 +0000 (04:28 -0700)
The UARTs may be located on different APB buses, thus have

different UART clock frequency. The system frequency is not
the same (but often) as the UART frequency, rather the APB bus
frequency that the APBUART is located at has the same
frequency, so this looks at the "freq" property instead.

Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found