arm-trusted-firmware/plat
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: power: Add DCDC6 power rail 2018-11-14 09:50:06 +00:00
arm Merge pull request #1696 from satheesbalya-arm/sb1/sb1_2406_romlib_juno 2018-11-27 09:06:15 +01:00
common plat/common/crash_console_helpers.S: Fix MULTI_CONSOLE_API support 2018-12-06 16:10:32 -08:00
hisilicon hikey: increase delay after eMMC initialized 2018-11-15 09:01:40 -06:00
imx Standardise header guards across codebase 2018-11-08 10:20:19 +00:00
layerscape Standardise header guards across codebase 2018-11-08 10:20:19 +00:00
marvell plat/marvell: Migrate to multi-console API 2018-11-15 13:42:45 +02:00
mediatek Standardise header guards across codebase 2018-11-08 10:20:19 +00:00
meson/gxbb gxbb: Workaround for PSCI_CPU_OFF 2018-10-26 11:53:53 +01:00
nvidia/tegra Standardise header guards across codebase 2018-11-08 10:20:19 +00:00
qemu Standardise header guards across codebase 2018-11-08 10:20:19 +00:00
renesas/rcar rcar-gen3: control RPC hyper-flash access 2018-11-20 10:45:55 +01:00
rockchip Standardise header guards across codebase 2018-11-08 10:20:19 +00:00
rpi3 rpi3: add RPI3_USE_UEFI_MAP build option 2018-11-19 11:45:12 +00:00
socionext Standardise header guards across codebase 2018-11-08 10:20:19 +00:00
st/stm32mp1 stm32mp1: use MULTI_CONSOLE_API 2018-11-15 11:30:01 +01:00
ti/k3 Standardise header guards across codebase 2018-11-08 10:20:19 +00:00
xilinx Merge pull request #1605 from sivadur/integration 2018-11-12 10:56:41 +01:00