rockchip: Move to MULTI_CONSOLE_API
authorJulius Werner <jwerner@chromium.org>
Wed, 2 Aug 2017 23:31:04 +0000 (16:31 -0700)
committerJulius Werner <jwerner@chromium.org>
Fri, 19 Jan 2018 23:21:12 +0000 (15:21 -0800)
commit890abc33e46349fb01aed443ad7128b82ba34f3d
treead62b1a3e332357880e59d53ea070997898945e6
parent3c250b9ab669614c8a2fcae27f598f384c6146fe
rockchip: Move to MULTI_CONSOLE_API

This patch changes all Rockchip platforms to use the new
MULTI_CONSOLE_API. The platform-specific plat_crash_console
implementations are removed so that the platform can use the ones from
the common platform code instead.

Also change the registers used in plat_crash_print_regs. The existing
use of x16 and x17 has always been illegal, since those registers are
reserved for use by the linker as a temporary scratch registers in
intra-procedure-call veneers and can never be expected to maintain their
values across a function call.

Change-Id: I8249424150be8d5543ed4af93b56756795a5288f
Signed-off-by: Julius Werner <jwerner@chromium.org>
plat/rockchip/common/aarch64/plat_helpers.S
plat/rockchip/common/bl31_plat_setup.c
plat/rockchip/common/include/plat_macros.S
plat/rockchip/rk3328/platform.mk
plat/rockchip/rk3368/platform.mk
plat/rockchip/rk3399/platform.mk