rpi3: Use new console APIs
authorAntonio Nino Diaz <antonio.ninodiaz@arm.com>
Tue, 27 Mar 2018 08:39:47 +0000 (09:39 +0100)
committerAntonio Nino Diaz <antonio.ninodiaz@arm.com>
Tue, 27 Mar 2018 08:39:47 +0000 (09:39 +0100)
commite0f21f625f518b0f1ece8a7cbe96a5206cf8c7f9
treed1d1164ab13abf3f07f3e68aa63d6728210633d1
parent4f8053dd288b0f76b9f2b74c49f745116d46f97c
rpi3: Use new console APIs

Switch to the new console APIs enabled by setting MULTI_CONSOLE_API=1.

The crash console doesn't use this API, it uses internally the core
functions of the 16550 console.

`bl31_plat_runtime_setup` is no longer needed. When this platform port
was introduced, that function used to disable the console. It was needed
to override that behaviour. The new behaviour is to switch to the
runtime console. The console is registered for all scopes (boot, crash
and runtime) in `rpi3_console_init` so it is not needed to override the
default behaviour anymore.

Update documentation.

Change-Id: If2ee8f91044216183b7ef142e5c05ad6220ae92f
Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
docs/plat/rpi3.rst
plat/rpi3/aarch64/plat_helpers.S
plat/rpi3/platform.mk
plat/rpi3/rpi3_bl1_setup.c
plat/rpi3/rpi3_bl2_setup.c
plat/rpi3/rpi3_bl31_setup.c
plat/rpi3/rpi3_common.c
plat/rpi3/rpi3_private.h