arm-trusted-firmware/drivers
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
..
allwinner allwinner: Add RSB driver 2018-10-20 16:23:59 +01:00
arm drivers/tzc-dmc620: add driver to setup DMC-620 TZC controller 2018-11-21 19:25:35 +05:30
auth Remove all other deprecated interfaces and files 2018-09-28 15:31:53 +01:00
cadence/uart/aarch64 cadence: uart: comply to console_register prototype 2018-11-12 09:35:49 -05:00
cfi/v2m plat/arm: Move norflash driver to drivers/ folder 2018-10-10 11:14:44 +01:00
console plat/common/crash_console_helpers.S: Fix MULTI_CONSOLE_API support 2018-12-06 16:10:32 -08:00
coreboot/cbmem_console/aarch64 Multi-console: Deprecate the `finish_console_register` macro 2018-10-19 17:34:52 +01:00
delay_timer Fix misra warnings in delay timer and console drivers 2018-09-25 17:49:28 +01:00
gpio Use SPDX license identifiers 2017-05-03 09:39:28 +01:00
imx Standardise header guards across codebase 2018-11-08 10:20:19 +00:00
io Merge pull request #1450 from MISL-EBU-System-SW/marvell-support-v6 2018-07-19 17:11:32 +01:00
marvell plat/marvell: Migrate to multi-console API 2018-11-15 13:42:45 +02:00
mentor/i2c drivers: i2c: mentor: move platform code into header files 2018-09-19 09:24:02 +01:00
meson/console/aarch64 meson: console: Add missing define to fix build 2018-10-29 11:35:34 +00:00
mmc mmc: Update framework to use standard response type 2018-09-28 16:48:37 +02:00
partition drivers: partition: correct some static analysis tools issues 2018-11-09 18:22:01 +01:00
renesas/rcar Standardise header guards across codebase 2018-11-08 10:20:19 +00:00
st drivers: st: uart: remove old API 2018-11-15 11:52:32 +01:00
staging/renesas/rcar Standardise header guards across codebase 2018-11-08 10:20:19 +00:00
synopsys mmc: Update framework to use standard response type 2018-09-28 16:48:37 +02:00
ti/uart/aarch64 Multi-console: Deprecate the `finish_console_register` macro 2018-10-19 17:34:52 +01:00
ufs drivers: fix switch statements to comply with MISRA rules 2018-03-26 12:43:05 +01:00