]> git.baikalelectronics.ru Git - arm-tf.git/commit
Add default crash console code to hook up to new console API
authorJulius Werner <jwerner@chromium.org>
Mon, 18 Sep 2017 23:49:48 +0000 (16:49 -0700)
committerJulius Werner <jwerner@chromium.org>
Fri, 19 Jan 2018 23:21:01 +0000 (15:21 -0800)
commit17cd67d2af885913427be5c0d8af47647d72896e
treef387e312e7d8e94126dc776daa0165f104f03290
parent9536bae6df5638772a1e8b1c8cf8e321f4ab5452
Add default crash console code to hook up to new console API

This patch expands the weak stubs for the plat_crash_console_xxx
functions in common platform code to use the new console API for crash
output. This should make crash console output "just work" for most cases
without the need for the platform to explicitly set up a crash console.
For cases where the normal console framework doesn't work (e.g. very
early crashes, before the platform can register any consoles), platforms
are still able to override the functions just like before.

This feature requires the MULTI_CONSOLE_API compile-time flag to work.
For builds which don't have it set, this patch has no practical effect.

Change-Id: I80dd161cb43f9db59a0bad2dae33c6560cfac584
Signed-off-by: Julius Werner <jwerner@chromium.org>
docs/porting-guide.rst
plat/common/aarch64/platform_helpers.S