riscv: kernel: add console driver for S-Mode using SBIImplements a generic console driver using legacy SBI extension.This introduces a flag CFG_RISCV_SBI_CONSOLE to decide buildingthe driver or n
riscv: kernel: add console driver for S-Mode using SBIImplements a generic console driver using legacy SBI extension.This introduces a flag CFG_RISCV_SBI_CONSOLE to decide buildingthe driver or not. This allows using another UART driver instead.Signed-off-by: Marouene Boubakri <marouene.boubakri@nxp.com>Acked-by: Jerome Forissier <jerome.forissier@linaro.org>Acked-by: Jens Wiklander <jens.wiklander@linaro.org>[jf: set author to be same as Signed-off-by:]Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>
show more ...
core: riscv: plat-spike: console driver based on host-target interfaceSpike doesn't yet model a UART but relies on RISC-V Host-Target Interface(HTIF) to perform all I/O. It is a protocol allowing
core: riscv: plat-spike: console driver based on host-target interfaceSpike doesn't yet model a UART but relies on RISC-V Host-Target Interface(HTIF) to perform all I/O. It is a protocol allowing the target to accesshost to perform console, storage etc. It requires special ELF symbolstohost and fromhost. HTIF base address is set to 0x40008000.Signed-off-by: Marouene Boubakri <marouene.boubakri@nxp.com>Acked-by: Etienne Carriere <etienne.carriere@linaro.org>[jf: remove useless line continuation; initialize base to 0]Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>