Attention is currently required from: Jason Glenesk, Raul Rangel, Marshall Dawson, Angel Pons, Krystian Hebel, Kyösti Mälkki, Felix Held. Hello build bot (Jenkins), Jason Glenesk, Raul Rangel, Marshall Dawson, Felix Held,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/56472
to look at the new patch set (#17).
Change subject: lib/console: Use a linkerscript array for console drivers ......................................................................
lib/console: Use a linkerscript array for console drivers
Now all init/tx/tx_flush calls are used as function pointers inside hw_consoles.c. The idea of this patch is to add the ability link in console drivers. This for instance makes using multiple uarts easier.
rx calls are for pretty specific use cases so it make sense not to handle those in the console driver for now.
Change-Id: Ib2468e03fba087a4fc43e6365856030e4c7f1cea Signed-off-by: Arthur Heymans arthur@aheymans.xyz --- M src/console/Makefile.inc M src/console/console.c A src/console/hw_consoles.c M src/console/printk.c M src/include/console/cbmem_console.h M src/include/console/flash.h M src/include/console/ne2k.h M src/include/console/qemu_debugcon.h M src/include/console/spi.h M src/include/console/spkmodem.h M src/include/console/streams.h M src/include/console/system76_ec.h M src/include/console/uart.h M src/include/console/usb.h M src/lib/Makefile.inc M src/lib/program.ld M src/soc/amd/common/psp_verstage/printk.c M src/soc/qualcomm/common/qclib.c 18 files changed, 172 insertions(+), 135 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/72/56472/17