Patch Set 3:

(1 comment)

Haha, turns out I forgot to ask what this is used for? is it
for software without a memory-mapped UART driver?

The motive is to provide an option to enable legacy uart on picasso. I don't know when this would be used except for the case where the mmio driver is not available. The PICASSO_UART_LEGACY_RANGE was added because there was a request for more flexibility in the original review. Reviewing this second time, I too am unsure if this flexibility is needed it should probably just be mapped 0:0x3f8, 1:0x2f8, 2:0x3e8, 3:0x2e8. This would match uart8250io.c. Since this isn't even used at the moment, I suggest we skip this patch and I'll take another look at cleaning this up when I have some time.

Patch set 3:Code-Review -1

View Change

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

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Id08ff6428d4019303ebb6e44e13aba480cf1fde2
Gerrit-Change-Number: 40322
Gerrit-PatchSet: 3
Gerrit-Owner: Felix Held <felix-coreboot@felixheld.de>
Gerrit-Reviewer: Angel Pons <th3fanbus@gmail.com>
Gerrit-Reviewer: Martin Roth <martinroth@google.com>
Gerrit-Reviewer: Rob Barnes <robbarnes@google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-CC: Nico Huber <nico.h@gmx.de>
Gerrit-Comment-Date: Tue, 14 Apr 2020 19:25:25 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment