diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2014-02-19 08:58:12 +0200 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2014-03-04 15:24:50 +0100 |
commit | 2cbcd2b7103f61a0a5b5f755aa92e3da8ec527f5 (patch) | |
tree | 1c070fd53f101b8a0bae66b6e298beadc08a0188 /src/mainboard/emulation/qemu-armv7 | |
parent | 65ba20e17bd91e4b92e34b495f64a51a0313f6a9 (diff) | |
download | coreboot-2cbcd2b7103f61a0a5b5f755aa92e3da8ec527f5.tar.xz |
ti/am335x: Fix baudrate calculation
UART input clock is platform dependent. Also account for possible
use of get_option() where baudrate is not compile-time constant.
The hardware reference on BeagleBone is from a 48 MHz oscillator input.
With pre-divisor of 16 we get same register values as in table 19-25.
Change-Id: I89aee27c958f8618ce79a968ae7520a867e7e8a2
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: http://review.coreboot.org/5290
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/mainboard/emulation/qemu-armv7')
0 files changed, 0 insertions, 0 deletions