arm-trusted-firmware/plat/common
Julius Werner 63c52d0071 plat/common/crash_console_helpers.S: Fix MULTI_CONSOLE_API support
Crash reporting via the default consoles registered by MULTI_CONSOLE_API
has been broken since commit d35cc34 (Console: Use callee-saved
registers), which was introduced to allow console drivers written in C.
It's not really possible with the current crash reporting framework to
support console drivers in C, however we should make sure that the
existing assembly drivers that do support crash reporting continue to
work through the MULTI_CONSOLE_API.

This patch fixes the problem by creating custom console_putc() and
console_flush() implementations for the crash reporting case that do not
use the stack. Platforms that want to use this feature will have to link
plat/common/aarch64/crash_console_helpers.S explicitly.

Also update the documentation to better reflect the new reality (of this
being an option rather than the expected default for most platforms).

Change-Id: Id0c761e5e2fddaf25c277bc7b8ab603946ca73cb
Signed-off-by: Julius Werner <jwerner@chromium.org>
2018-12-06 16:10:32 -08:00
..
aarch32 Deprecate weak crash console functions 2018-10-25 09:56:10 +01:00
aarch64 plat/common/crash_console_helpers.S: Fix MULTI_CONSOLE_API support 2018-12-06 16:10:32 -08:00
tbbr cert: move platform_oid.h to include/tools_share for all platforms 2017-05-24 00:08:35 +09:00
plat_bl1_common.c Remove deprecated bl1_init_bl2_mem_layout() 2018-09-28 15:31:53 +01:00
plat_bl_common.c Convert arm_setup_page_tables into a generic helper 2018-10-26 14:55:30 +01:00
plat_gicv2.c Ensure the flow through switch statements is clear 2018-09-21 13:14:13 +01:00
plat_gicv3.c Ensure the flow through switch statements is clear 2018-09-21 13:14:13 +01:00
plat_log_common.c Fix MISRA defects in log helpers 2018-08-30 16:22:52 +01:00
plat_psci_common.c PSCI: Fix MISRA defects in platform code 2018-07-24 09:12:16 +01:00