Thread (46 messages) 46 messages, 9 authors, 2016-05-06
STALE3726d

[PATCH v2 10/11] arm: Add Aspeed machine

From: benh@kernel.crashing.org (Benjamin Herrenschmidt)
Date: 2016-04-21 23:02:54

On Fri, 2016-04-22 at 08:28 +1000, Benjamin Herrenschmidt wrote:
It may or may not be already correct, you don't necessarily have a
serial enabled bootloader or it might be using a UART driver that
doesn't use the 'standard' divisors etc... This just sanitizes it.

This register contains misc controls. That specific bit controls a
clock divisor by 13 from the main 24Mhz source, which provides a
reasonably "standard" 1.84 Mhz input to the UARTs.
On a second thought ... if we chose to not support random crap vendor
uboots, we could make it a requirement that this register is already
set appropriately by the bootloader to match what's in the device-tree
I suppose...

That, along with a watchdog driver, would allow us to completely remove
that init code.

Joel, Jeremy, your call.

Cheers,
Ben.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help