RISC-V: Add early printk support via the SBI console

This code lives entirely within the RISC-V arch code.  I've left it
within an "#ifdef CONFIG_EARLY_PRINTK" despite always having
EARLY_PRINTK support on RISC-V just in case someone wants to remove
it.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
This commit is contained in:
Palmer Dabbelt 2017-12-08 15:10:35 -08:00
commit 5b5c2a2c44
No known key found for this signature in database
GPG key ID: EF4CA1502CCBAB41