Attention is currently required from: Jonathan Neuschäfer, Patrick Rudolph, Philipp Hug.

Maximilian Brune uploaded patch set #3 to this change.

View Change

drivers/uart/sifive.c: Fix divisor calculation

The divisor is calculated using the following formula:
div = (frequency / baudrate) - 1;

The current implementation however essentially calculates:
div = (frequency / baudrate);

Signed-off-by: Maximilian Brune <maximilian.brune@9elements.com>
Change-Id: I8a0898ce9016a70c0f91dc8a99fc1cf9e46d20c4
---
M src/drivers/uart/sifive.c
1 file changed, 10 insertions(+), 3 deletions(-)

git pull ssh://review.coreboot.org:29418/coreboot refs/changes/51/79951/3

To view, visit change 79951. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I8a0898ce9016a70c0f91dc8a99fc1cf9e46d20c4
Gerrit-Change-Number: 79951
Gerrit-PatchSet: 3
Gerrit-Owner: Maximilian Brune <maximilian.brune@9elements.com>
Gerrit-Reviewer: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Gerrit-Reviewer: Patrick Rudolph <patrick.rudolph@9elements.com>
Gerrit-Reviewer: Philipp Hug <philipp.hug@gmail.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-Attention: Patrick Rudolph <patrick.rudolph@9elements.com>
Gerrit-Attention: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Gerrit-Attention: Philipp Hug <philipp.hug@gmail.com>
Gerrit-MessageType: newpatchset