openrisc: Add support for liteuart emergency printing
authorStafford Horne <shorne@gmail.com>
Sun, 15 May 2022 04:33:14 +0000 (13:33 +0900)
committerStafford Horne <shorne@gmail.com>
Mon, 23 May 2022 08:15:49 +0000 (17:15 +0900)
commit29bbb2a90fcdd46d9f12746deac4718082df325a
tree31e3282531fa595c92ce910b2db3f918b355f490
parente449759c246e1594307760f7203debf6038a42ea
openrisc: Add support for liteuart emergency printing

This patch adds support for sending emergency print output, such as
unhandled exception details, to a liteuart serial device.  This is the
default device available on litex platforms.

If a developer want to use this they should update UART_BASE_ADD
to the address of liteuart.

Signed-off-by: Stafford Horne <shorne@gmail.com>
arch/openrisc/kernel/head.S