linux/arch/openrisc
Stafford Horne e449759c24 openrisc: Cleanup emergency print handling
The emergency print support only works for 8250 compatible serial ports.
Now that OpenRISC platforms may be configured with different serial port
hardware we don't want emergency print to try to print to non-existent
hardware which will cause lockups.

This patch contains several fixes to get emergency print working again:

 - Update symbol loading to not assume the location of symbols
 - Split the putc print operation out to its own function to allow
   for different future implementations.
 - Update _emergency_print_nr and _emergency_print to use the putc
   function.
 - Guard serial 8250 specific sequences by CONFIG_SERIAL_8250
 - Update string line feed from lf,cr to cr,lf.

Signed-off-by: Stafford Horne <shorne@gmail.com>
2022-05-23 17:15:49 +09:00
..
boot kbuild: do not quote string values in include/config/auto.conf 2022-01-08 18:03:57 +09:00
configs openrisc/litex: Update defconfig 2021-08-31 22:41:46 +09:00
include asm-generic updates for 5.18 2022-03-23 18:03:08 -07:00
kernel openrisc: Cleanup emergency print handling 2022-05-23 17:15:49 +09:00
lib openrisc/boot: Remove unnecessary initialisation in memcpy(). 2022-01-30 17:44:34 +09:00
mm openrisc: remove bogus nops and shutdowns 2022-05-12 06:02:02 +09:00
Kbuild kbuild: use more subdir- for visiting subdirectories while cleaning 2021-10-24 13:49:46 +09:00
Kconfig openrisc: Add gcc machine instruction flag configuration 2022-05-23 17:15:49 +09:00
Kconfig.debug treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile openrisc: Add gcc machine instruction flag configuration 2022-05-23 17:15:49 +09:00