mb/pcengines/apu1/bootblock.c: Add possibility to redirect output to COM2
commitefa022db501de6d8dcd4a76e74d0f23a1ffd9412
authorMichał Żygowski <michal.zygowski@3mdeb.com>
Thu, 22 Nov 2018 10:13:31 +0000 (22 11:13 +0100)
committerNico Huber <nico.h@gmx.de>
Fri, 10 Jan 2020 15:08:38 +0000 (10 15:08 +0000)
tree74941243f3482c88a0806ba0ece45d28dbb0f0db
parent88521881133e62d8f3298388faa718efabc9107a
mb/pcengines/apu1/bootblock.c: Add possibility to redirect output to COM2

Enable COM2 port on SuperIO if UART index is 1. This change allows
to use full RS232 COM1 port for different purposes when COM2 is selected
as main port.

TEST=flash coreboot with console on COM2 and observer output with UBS-TTL
converter connected to COM2 header on PC Engines apu1

Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com>
Change-Id: I1e72c5a43a302658f86dafd863e5a67580eae3e4
Reviewed-on: https://review.coreboot.org/c/coreboot/+/29791
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
src/mainboard/pcengines/apu1/bootblock.c
src/mainboard/pcengines/apu1/romstage.c